Function at 0x4151f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov esi, dword [esp + 4]
mov dword [esp + 0x5c], 0x414980
mov dword [esp + 0x60], 0x4c0134
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esp
mov dword [esp + 0x68], 0x4151f0
lea eax, [esp + 0x44]
push eax
call fcn.004159e0
add esp, 4
test esi, esi
jne 0x41515a
push 0
call fcn.00413ef0
add esp, 4
call fcn.004147d0
mov esi, dword [esp + 4]
push dword [esp + 4]
call fcn.00413ef0
add esp, 4
mov dword [esp + 0x48], 0xffffffff
push esi
call fcn.00413c20
add esp, 4
mov byte [esp + 3], al
mov al, byte [esp + 3]
cmp al, 1
jne 0x4151b1
mov ecx, dword [esp + 4]
add ecx, 0xffffffd0
mov eax, dword [esp + 4]
mov esi, dword [eax - 0x24]
mov eax, dword [esp + 4]
mov eax, dword [eax - 0x28]
mov edx, dword [esp + 4]
mov edx, dword [edx - 0x18]
mov ebx, edx
sar ebx, 0x1f
mov edi, dword [esp + 4]
mov edi, dword [edi - 0x10]
jmp 0x4151c5
call fcn.00414890
mov esi, eax
xor edi, edi
call fcn.004147c0
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], 1
push eax
call fcn.00414870
add esp, 4
nop dword [eax]
mov eax, dword [esp + 0x48]
cmp eax, 0xd
jae case.default.0x4151ff
jmp dword [eax*4 + 0x4b03c4]
mov eax, dword [esp + 0x50]
push dword [esp + 0x4c]
call fcn.00413ef0
add esp, 4
mov al, byte [esp + 3]
cmp al, 1
jne 0x41550f
mov eax, dword [esp + 0x38]
add eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
movzx edx, byte [eax]
mov dword [esp + 0x48], 2
lea ecx, [esp + 0x34]
call fcn.00415530
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov al, byte [eax]
mov byte [esp + 2], al
mov al, byte [esp + 2]
cmp al, 0xff
je 0x4154f4
mov edx, dword [esp + 0x3c]
add edx, 1
xor eax, eax
xor ecx, ecx
nop
lea esi, [edx + 1]
mov dword [esp + 0x1c], esi
movzx ebx, byte [edx]
mov edx, ebx
and edx, 0x7f
shl edx, cl
or edx, eax
mov dword [esp + 0x20], edx
add ecx, 7
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
test bl, bl
js 0x415270
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x48], 3
call fcn.00479710
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x4154fd
mov eax, dword [esp + 8]
add eax, 0x30
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], 4
push eax
call fcn.00413c20
add esp, 4
mov byte [esp + 0xd], al
mov al, byte [esp + 0xd]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 8]
cmp edx, ecx
je 0x4153f8
test al, 1
je 0x4153f8
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], 5
push eax
call fcn.00413c10
add esp, 4
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov eax, 0x432b2b01
xor eax, dword [esp + 0x78]
mov ecx, 0x434c4e47
xor ecx, dword [esp + 0x7c]
or ecx, eax
jne 0x4153a7
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x2c]
jmp 0x4153ae
jmp 0x41536c
jmp 0x41536c
jmp 0x41536c
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], edi
mov dword [esp + 0x48], 0xd
call fcn.00413fd0
jmp 0x4154cb
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x14]
call fcn.00414710
jmp 0x415374
mov eax, dword [esp + 8]
add eax, 0x50
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
movzx edi, byte [esp + 2]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x48], 6
push dword [esp + 0x10]
push eax
push esi
push edi
push ebx
call fcn.00415630
add esp, 0x14
mov byte [esp + 0xe], al
cmp byte [esp + 0xe], 0
je 0x415487
mov eax, dword [esp + 4]
mov ecx, dword [0x4b0460]
add ecx, 8
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
movzx esi, byte [esp + 2]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x48], 0xa
lea ebx, [esp + 0x14]
push eax
push ebx
push 0x4b02ec
push esi
push edi
call fcn.00415630
add esp, 0x14
mov byte [esp + 0xf], al
cmp byte [esp + 0xf], 0
jne 0x415506
mov dword [esp + 0x48], 0xb
call fcn.00413fd0
push 4
call fcn.00413c40
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], 0xc
push fcn.00414710
push 0x4b02ec
push eax
call fcn.00413da0
add esp, 0xc
jmp case.default.0x4151ff
mov eax, dword [esp + 8]
neg dword [eax + 0x14]
mov eax, dword [esp + 0x40]
add dword [eax + 4], 1
mov dword [esp + 0x48], 7
call fcn.00413fd0
mov dword [esp + 0x48], 8
call fcn.00413fd0
push dword [esp + 0x24]
call fcn.00413ef0
add esp, 4
mov dword [esp + 0x48], 9
call fcn.004141c0
ud2
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x48], 0xffffffff
push eax
call fcn.00415ce0
mov eax, dword [esp + 0x50]
push dword [esp + 0x4c]
call fcn.00406150
push dword [esp + 0x18]
call fcn.004148a0
push dword [esp + 0x18]
call fcn.004148a0
lea ecx, [esp + 0x14]
call fcn.00414710
mov dword [esp + 0x48], 0xffffffff
call fcn.00413fd0
push dword [esp + 0x18]
call fcn.004148a0
nop word cs:[eax + eax]
nop