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

Disassembly:
sub esp, 0xa8
push ebx
push esi
mov esi, dword [esp + 0xb4]
xor ebx, ebx
cmp esi, ebx
je 0x515bfa
push ebp
push edi
push ebx
push esi
call fcn.0051a050
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 ebp, dword [esp + 0xc0]
mov byte [esp + 0x74], bl
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], 0x43
mov byte [esp + 0x62], 0x41
mov byte [esp + 0x63], 0x4c
mov byte [esp + 0x64], bl
mov byte [esp + 0x88], cl
mov byte [esp + 0x89], 0x50
mov byte [esp + 0x8a], 0x4c
mov byte [esp + 0x8b], al
mov byte [esp + 0x8c], bl
mov byte [esp + 0x78], cl
mov byte [esp + 0x79], 0x52
mov byte [esp + 0x7a], 0x47
mov byte [esp + 0x7b], 0x42
mov byte [esp + 0x7c], bl
mov byte [esp + 0x90], dl
mov byte [esp + 0x91], 0x45
mov byte [esp + 0x92], 0x58
mov byte [esp + 0x93], dl
mov byte [esp + 0x94], bl
mov byte [esp + 0x98], dl
mov byte [esp + 0x99], 0x49
mov byte [esp + 0x9a], 0x4d
mov byte [esp + 0x9b], 0x45
mov byte [esp + 0x9c], bl
mov byte [esp + 0xa0], dl
mov byte [esp + 0xa1], 0x52
mov byte [esp + 0xa2], 0x4e
mov byte [esp + 0xa3], 0x53
mov byte [esp + 0xa4], bl
mov byte [esp + 0xa8], 0x7a
mov byte [esp + 0xa9], al
mov byte [esp + 0xaa], 0x58
mov byte [esp + 0xab], dl
mov byte [esp + 0xac], bl
push esi
call fcn.00519fb0
mov edx, dword [esi + 0x11c]
mov edi, eax
lea eax, [esi + 0x11c]
lea ecx, [esp + 0x24]
add esp, 4
cmp edx, dword [ecx]
jne 0x51594a
push edi
push ebp
push esi
call fcn.0051a490
jmp 0x515beb
mov edx, dword [eax]
lea ecx, [esp + 0x28]
cmp edx, dword [ecx]
jne 0x515961
push edi
push ebp
push esi
call fcn.0051a7a0
jmp 0x515beb
push eax
push esi
call fcn.00516e30
add esp, 8
test eax, eax
je 0x5159c1
mov ecx, dword [esi + 0x11c]
lea eax, [esp + 0x10]
cmp ecx, dword [eax]
jne 0x515997
cmp edi, ebx
ja 0x515989
mov eax, dword [esi + 0x6c]
test ah, 0x20
je 0x515997
push str.Too_many_IDATs_found
push esi
call fcn.005164a0
add esp, 8
push edi
push ebp
push esi
call fcn.0051c9c0
mov eax, dword [esi + 0x11c]
lea edx, [esp + 0x24]
add esp, 0xc
cmp eax, dword [edx]
jne 0x515bee
mov eax, dword [esi + 0x6c]
or al, 2
mov dword [esi + 0x6c], eax
jmp 0x515bee
mov edx, dword [esi + 0x11c]
lea ecx, [esp + 0x10]
cmp edx, dword [ecx]
jne 0x5159f8
cmp edi, ebx
ja 0x5159db
mov eax, dword [esi + 0x6c]
test ah, 0x20
je 0x5159e9
push str.Too_many_IDATs_found
push esi
call fcn.005164a0
add esp, 8
push edi
push esi
call fcn.0051a050
add esp, 8
jmp 0x515bee
mov ecx, dword [esi + 0x11c]
lea eax, [esp + 0x18]
cmp ecx, dword [eax]
jne 0x515a13
push edi
push ebp
push esi
call fcn.0051a600
jmp 0x515beb
mov eax, dword [esi + 0x11c]
lea edx, [esp + 0x30]
cmp eax, dword [edx]
jne 0x515a2e
push edi
push ebp
push esi
call fcn.0051b770
jmp 0x515beb
mov edx, dword [esi + 0x11c]
lea ecx, [esp + 0x38]
cmp edx, dword [ecx]
jne 0x515a49
push edi
push ebp
push esi
call fcn.0051ab00
jmp 0x515beb
mov ecx, dword [esi + 0x11c]
lea eax, [esp + 0x40]
cmp ecx, dword [eax]
jne 0x515a64
push edi
push ebp
push esi
call fcn.0051a7f0
jmp 0x515beb
mov eax, dword [esi + 0x11c]
lea edx, [esp + 0x48]
cmp eax, dword [edx]
jne 0x515a7f
push edi
push ebp
push esi
call fcn.0051b980
jmp 0x515beb
mov edx, dword [esi + 0x11c]
lea ecx, [esp + 0x50]
cmp edx, dword [ecx]
jne 0x515a9a
push edi
push ebp
push esi
call fcn.0051bc30
jmp 0x515beb
mov ecx, dword [esi + 0x11c]
lea eax, [esp + 0x58]
cmp ecx, dword [eax]
jne 0x515ab5
push edi
push ebp
push esi
call fcn.0051bd80
jmp 0x515beb
mov eax, dword [esi + 0x11c]
lea edx, [esp + 0x60]
cmp eax, dword [edx]
jne 0x515ad0
push edi
push ebp
push esi
call fcn.0051c0b0
jmp 0x515beb
mov edx, dword [esi + 0x11c]
lea ecx, [esp + 0x68]
cmp edx, dword [ecx]
jne 0x515aeb
push edi
push ebp
push esi
call fcn.0051baf0
jmp 0x515beb
mov ecx, dword [esi + 0x11c]
lea eax, [esp + 0x70]
cmp ecx, dword [eax]
jne 0x515b06
push edi
push ebp
push esi
call fcn.0051a980
jmp 0x515beb
mov eax, dword [esi + 0x11c]
lea edx, [esp + 0x78]
cmp eax, dword [edx]
jne 0x515b21
push edi
push ebp
push esi
call fcn.0051ade0
jmp 0x515beb
mov edx, dword [esi + 0x11c]
lea ecx, [esp + 0x80]
cmp edx, dword [ecx]
jne 0x515b3f
push edi
push ebp
push esi
call fcn.0051afd0
jmp 0x515beb
mov ecx, dword [esi + 0x11c]
lea eax, [esp + 0x88]
cmp ecx, dword [eax]
jne 0x515b5d
push edi
push ebp
push esi
call fcn.0051b220
jmp 0x515beb
mov eax, dword [esi + 0x11c]
lea edx, [esp + 0x90]
cmp eax, dword [edx]
jne 0x515b78
push edi
push ebp
push esi
call fcn.0051c380
jmp 0x515beb
mov edx, dword [esi + 0x11c]
lea ecx, [esp + 0x98]
cmp edx, dword [ecx]
jne 0x515b93
push edi
push ebp
push esi
call fcn.0051c290
jmp 0x515beb
mov ecx, dword [esi + 0x11c]
lea eax, [esp + 0xa0]
cmp ecx, dword [eax]
jne 0x515bae
push edi
push ebp
push esi
call fcn.0051b510
jmp 0x515beb
mov eax, dword [esi + 0x11c]
lea edx, [esp + 0xa8]
cmp eax, dword [edx]
jne 0x515bc9
push edi
push ebp
push esi
call fcn.0051c530
jmp 0x515beb
mov edx, dword [esi + 0x11c]
lea ecx, [esp + 0xb0]
push edi
push ebp
mov eax, dword [ecx]
push esi
cmp edx, eax
jne 0x515be6
call fcn.0051c740
jmp 0x515beb
call fcn.0051c9c0
add esp, 0xc
test byte [esi + 0x6c], 0x10
je 0x51591e
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xa8
ret