Function at 0x5127f0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb8]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x512da4
mov edi, dword [esp + 0xc0]
cmp edi, ebx
je 0x512da4
push edi
push esi
call fcn.00517ae0
mov cl, 0x44
mov al, 0x54
mov byte [esp + 0x2a], cl
mov byte [esp + 0x19], cl
mov byte [esp + 0x33], cl
mov byte [esp + 0x3b], cl
mov cl, 0x69
mov dl, 0x74
mov byte [esp + 0x88], cl
mov byte [esp + 0xb8], cl
mov cl, 0x46
add esp, 8
mov byte [esp + 0x51], cl
mov byte [esp + 0x52], cl
mov cl, 0x73
mov byte [esp + 0x20], 0x49
mov byte [esp + 0x21], 0x48
mov byte [esp + 0x23], 0x52
mov byte [esp + 0x24], bl
mov byte [esp + 0x10], 0x49
mov byte [esp + 0x12], 0x41
mov byte [esp + 0x13], al
mov byte [esp + 0x14], bl
mov byte [esp + 0x28], 0x49
mov byte [esp + 0x29], 0x45
mov byte [esp + 0x2a], 0x4e
mov byte [esp + 0x2c], bl
mov byte [esp + 0x18], 0x50
mov byte [esp + 0x19], 0x4c
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], 0x45
mov byte [esp + 0x1c], bl
mov byte [esp + 0x30], 0x62
mov byte [esp + 0x31], 0x4b
mov byte [esp + 0x32], 0x47
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], 0x63
mov byte [esp + 0x39], 0x48
mov byte [esp + 0x3a], 0x52
mov byte [esp + 0x3b], 0x4d
mov byte [esp + 0x3c], bl
mov byte [esp + 0x40], 0x67
mov byte [esp + 0x41], 0x41
mov byte [esp + 0x42], 0x4d
mov byte [esp + 0x43], 0x41
mov byte [esp + 0x44], bl
mov byte [esp + 0x48], 0x68
mov byte [esp + 0x49], 0x49
mov byte [esp + 0x4a], 0x53
mov byte [esp + 0x4b], al
mov byte [esp + 0x4c], bl
mov byte [esp + 0x81], 0x43
mov byte [esp + 0x82], 0x43
mov byte [esp + 0x83], 0x50
mov byte [esp + 0x84], bl
mov byte [esp + 0xb1], al
mov byte [esp + 0xb2], 0x58
mov byte [esp + 0xb3], dl
mov byte [esp + 0xb4], bl
mov byte [esp + 0x50], 0x6f
mov byte [esp + 0x53], cl
mov byte [esp + 0x54], bl
mov byte [esp + 0x58], 0x70
mov byte [esp + 0x59], 0x43
mov byte [esp + 0x5a], 0x41
mov byte [esp + 0x5b], 0x4c
mov byte [esp + 0x5c], bl
mov byte [esp + 0x68], 0x70
mov byte [esp + 0x69], 0x48
mov byte [esp + 0x6a], 0x59
mov byte [esp + 0x6b], cl
mov byte [esp + 0x6c], bl
mov byte [esp + 0x70], cl
mov byte [esp + 0x71], 0x42
mov byte [esp + 0x72], 0x49
mov byte [esp + 0x73], al
mov byte [esp + 0x74], bl
mov byte [esp + 0x60], cl
mov byte [esp + 0x64], bl
mov byte [esp + 0x8c], bl
mov byte [esp + 0x7c], bl
mov byte [esp + 0x94], bl
mov byte [esp + 0x9c], bl
mov byte [esp + 0xa4], bl
mov byte [esp + 0xac], bl
mov byte [esp + 0x61], 0x43
mov byte [esp + 0x62], 0x41
mov byte [esp + 0x63], 0x4c
mov byte [esp + 0x88], cl
mov byte [esp + 0x89], 0x50
mov byte [esp + 0x8a], 0x4c
mov byte [esp + 0x8b], al
mov byte [esp + 0x78], cl
mov byte [esp + 0x79], 0x52
mov byte [esp + 0x7a], 0x47
mov byte [esp + 0x7b], 0x42
mov byte [esp + 0x90], dl
mov byte [esp + 0x91], 0x45
mov byte [esp + 0x92], 0x58
mov byte [esp + 0x93], dl
mov byte [esp + 0x98], dl
mov byte [esp + 0x99], 0x49
mov byte [esp + 0x9a], 0x4d
mov byte [esp + 0x9b], 0x45
mov byte [esp + 0xa0], dl
mov byte [esp + 0xa1], 0x52
mov byte [esp + 0xa2], 0x4e
mov byte [esp + 0xa3], 0x53
mov byte [esp + 0xa8], 0x7a
mov byte [esp + 0xa9], al
mov byte [esp + 0xaa], 0x58
mov byte [esp + 0xab], dl
lea ebx, [esi + 0x11c]
push esi
call fcn.00517b80
mov ecx, dword [ebx]
mov ebp, eax
lea eax, [esp + 0x14]
add esp, 4
cmp ecx, dword [eax]
jne 0x512a9e
mov eax, dword [esi + 0x6c]
test al, 8
je 0x512a9e
or ah, 0x20
mov dword [esi + 0x6c], eax
mov eax, dword [ebx]
lea edx, [esp + 0x20]
cmp eax, dword [edx]
jne 0x512ab5
push ebp
push edi
push esi
call fcn.00518060
add esp, 0xc
jmp 0x512a7c
mov edx, dword [ebx]
lea ecx, [esp + 0x28]
cmp edx, dword [ecx]
jne 0x512acc
push ebp
push edi
push esi
call fcn.00518370
add esp, 0xc
jmp 0x512a7c
push ebx
push esi
call fcn.00514a00
add esp, 8
test eax, eax
je 0x512b21
mov ecx, dword [ebx]
lea eax, [esp + 0x10]
cmp ecx, dword [eax]
jne 0x512aec
mov eax, dword [esi + 0x6c]
or al, 4
mov dword [esi + 0x6c], eax
push ebp
push edi
push esi
call fcn.0051a590
mov eax, dword [ebx]
lea edx, [esp + 0x24]
add esp, 0xc
cmp eax, dword [edx]
jne 0x512b0e
mov eax, dword [esi + 0x6c]
or al, 2
mov dword [esi + 0x6c], eax
jmp 0x512a7c
mov edx, dword [ebx]
lea ecx, [esp + 0x10]
cmp edx, dword [ecx]
je 0x512d27
jmp 0x512a7c
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
cmp ecx, dword [eax]
jne 0x512b3b
push ebp
push edi
push esi
call fcn.005181d0
add esp, 0xc
jmp 0x512a7c
mov eax, dword [ebx]
lea edx, [esp + 0x10]
cmp eax, dword [edx]
je 0x512d6d
lea ecx, [esp + 0x30]
mov edx, eax
cmp edx, dword [ecx]
jne 0x512b63
push ebp
push edi
push esi
call fcn.00519340
add esp, 0xc
jmp 0x512a7c
mov ecx, dword [ebx]
lea eax, [esp + 0x38]
cmp ecx, dword [eax]
jne 0x512b7d
push ebp
push edi
push esi
call fcn.005186d0
add esp, 0xc
jmp 0x512a7c
mov eax, dword [ebx]
lea edx, [esp + 0x40]
cmp eax, dword [edx]
jne 0x512b97
push ebp
push edi
push esi
call fcn.005183c0
add esp, 0xc
jmp 0x512a7c
mov edx, dword [ebx]
lea ecx, [esp + 0x48]
cmp edx, dword [ecx]
jne 0x512bb1
push ebp
push edi
push esi
call fcn.00519550
add esp, 0xc
jmp 0x512a7c
mov ecx, dword [ebx]
lea eax, [esp + 0x50]
cmp ecx, dword [eax]
jne 0x512bcb
push ebp
push edi
push esi
call fcn.00519800
add esp, 0xc
jmp 0x512a7c
mov eax, dword [ebx]
lea edx, [esp + 0x58]
cmp eax, dword [edx]
jne 0x512be5
push ebp
push edi
push esi
call fcn.00519950
add esp, 0xc
jmp 0x512a7c
mov edx, dword [ebx]
lea ecx, [esp + 0x60]
cmp edx, dword [ecx]
jne 0x512bff
push ebp
push edi
push esi
call fcn.00519c80
add esp, 0xc
jmp 0x512a7c
mov ecx, dword [ebx]
lea eax, [esp + 0x68]
cmp ecx, dword [eax]
jne 0x512c19
push ebp
push edi
push esi
call fcn.005196c0
add esp, 0xc
jmp 0x512a7c
mov eax, dword [ebx]
lea edx, [esp + 0x70]
cmp eax, dword [edx]
jne 0x512c33
push ebp
push edi
push esi
call fcn.00518550
add esp, 0xc
jmp 0x512a7c
mov edx, dword [ebx]
lea ecx, [esp + 0x78]
cmp edx, dword [ecx]
jne 0x512c4d
push ebp
push edi
push esi
call fcn.005189b0
add esp, 0xc
jmp 0x512a7c
mov ecx, dword [ebx]
lea eax, [esp + 0x80]
cmp ecx, dword [eax]
jne 0x512c6a
push ebp
push edi
push esi
call fcn.00518ba0
add esp, 0xc
jmp 0x512a7c
mov eax, dword [ebx]
lea edx, [esp + 0x88]
cmp eax, dword [edx]
jne 0x512c87
push ebp
push edi
push esi
call fcn.00518df0
add esp, 0xc
jmp 0x512a7c
mov edx, dword [ebx]
lea ecx, [esp + 0x90]
cmp edx, dword [ecx]
jne 0x512ca4
push ebp
push edi
push esi
call fcn.00519f50
add esp, 0xc
jmp 0x512a7c
mov ecx, dword [ebx]
lea eax, [esp + 0x98]
cmp ecx, dword [eax]
jne 0x512cc1
push ebp
push edi
push esi
call fcn.00519e60
add esp, 0xc
jmp 0x512a7c
mov eax, dword [ebx]
lea edx, [esp + 0xa0]
cmp eax, dword [edx]
jne 0x512cde
push ebp
push edi
push esi
call fcn.005190e0
add esp, 0xc
jmp 0x512a7c
mov edx, dword [ebx]
lea ecx, [esp + 0xa8]
cmp edx, dword [ecx]
jne 0x512cfb
push ebp
push edi
push esi
call fcn.0051a100
add esp, 0xc
jmp 0x512a7c
mov ecx, dword [ebx]
lea eax, [esp + 0xb0]
push ebp
push edi
mov edx, dword [eax]
push esi
cmp ecx, edx
jne 0x512d1a
call fcn.0051a310
add esp, 0xc
jmp 0x512a7c
call fcn.0051a590
add esp, 0xc
jmp 0x512a7c
mov eax, dword [esi + 0x6c]
test al, 1
jne 0x512d47
push str.Missing_IHDR_before_IDAT
push esi
call fcn.00513ff0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
cmp byte [esi + 0x126], 3
jne 0x512da4
test al, 2
jne 0x512da4
push str.Missing_PLTE_before_IDAT
push esi
call fcn.00513ff0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
mov eax, dword [esi + 0x6c]
test al, 1
jne 0x512d7b
push str.Missing_IHDR_before_IDAT
jmp 0x512d8d
cmp byte [esi + 0x126], 3
jne 0x512d96
test al, 2
jne 0x512d96
push str.Missing_PLTE_before_IDAT
push esi
call fcn.00513ff0
add esp, 8
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x10c], ebp
or al, 4
mov dword [esi + 0x6c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret