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

Disassembly:
push 0xffffffffffffffff
push 0x44a72b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push ebp
mov ebp, dword [0x44c438]
push esi
mov esi, ecx
push edi
push 0xfffffffffffffff0
mov eax, dword [esi + 4]
push eax
call ebp
mov ecx, dword [esi + 4]
push 0xffffffffffffffec
push ecx
mov edi, eax
call ebp
push 0x2000000
push 0
push 0
lea ecx, [esi + 0x78]
mov ebx, eax
call fcn.00417d70
mov edx, dword [esi + 4]
or edi, 0xa0000
push edi
mov edi, dword [0x44c380]
push 0xfffffffffffffff0
push edx
call edi
mov eax, dword [esi + 4]
push ebx
push 0xffffffffffffffec
push eax
call edi
mov ecx, dword [0x454050]
mov dword [esp + 0x10], ecx
mov edx, dword [0x45a0e0]
lea ecx, [esp + 0x44]
push pe_nt_image_headers32
push ecx
mov eax, dword [edx + 8]
xor ebx, ebx
push 0x80
push eax
mov dword [esp + 0x25c], ebx
call dword [0x44c3a0]
cmp eax, ebx
jne 0x415855
mov word [esp + 0x44], bx
mov edx, pe_nt_image_headers32
sub edx, eax
cmp edx, 1
jle 0x415871
lea eax, [esp + 0x44]
lea ecx, [esp + 0x10]
push eax
call fcn.00403de0
jmp 0x4158bf
push 0x1ff
lea ecx, [esp + 0x14]
mov edi, 0x200
call fcn.00404860
cmp eax, ebx
je 0x4158b4
push edi
push eax
push 0x80
call fcn.00404b60
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x4158b4
add edi, 0x100
lea ecx, [esp + 0x10]
lea edx, [edi - 1]
push edx
call fcn.00404860
cmp eax, ebx
jne 0x415888
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00404920
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [0x44c46c]
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call ebp
mov ebx, eax
and ebx, 0x40000000
je 0x4158ec
mov eax, dword [esi + 4]
push eax
call dword [0x44c3f0]
jmp 0x4158f8
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [0x44c3f4]
mov edi, eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x34]
push edx
push eax
call dword [0x44c440]
test ebx, ebx
jne 0x41596b
test edi, edi
je 0x415926
push 0xfffffffffffffff0
push edi
call ebp
test eax, 0x10000000
je 0x415924
test eax, 0x20000000
je 0x415926
xor edi, edi
lea ecx, [esp + 0x24]
push 0
push ecx
push 0
push 0x30
call dword [0x44c3f8]
test edi, edi
jne 0x41595d
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jmp 0x41599c
lea eax, [esp + 0x14]
push eax
push edi
call dword [0x44c440]
jmp 0x41599c
mov ecx, dword [esi + 4]
push ecx
call dword [0x44c3f0]
mov ebp, dword [0x44c434]
lea edx, [esp + 0x24]
mov ebx, eax
push edx
push ebx
call ebp
lea eax, [esp + 0x14]
push eax
push edi
call ebp
lea ecx, [esp + 0x14]
push 2
push ecx
push ebx
push edi
call dword [0x44c444]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
sub ebp, edx
mov edx, dword [esp + 0x1c]
sub ebx, edi
add eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x18]
add eax, edx
cdq
sub eax, edx
mov edi, eax
mov eax, ebp
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
mov eax, dword [esp + 0x24]
cmp ecx, eax
jl 0x4159f9
mov eax, dword [esp + 0x2c]
lea edx, [ecx + ebx]
cmp edx, eax
jle 0x4159fb
sub eax, ebx
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp edi, eax
jl 0x415a10
mov eax, dword [esp + 0x30]
lea edx, [edi + ebp]
cmp edx, eax
jle 0x415a12
sub eax, ebp
mov edi, eax
mov eax, dword [esi + 4]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ecx
push 0
push eax
call dword [0x44c360]
mov edi, dword [0x44c3fc]
mov ebx, dword [0x45a130]
push 0
push 0xc
call edi
push eax
push 0xb
call edi
push eax
push 1
push 0x80
push ebx
mov ebx, dword [0x44c400]
call ebx
mov ecx, dword [esi + 4]
mov ebp, dword [0x44c464]
push eax
push 1
push 0x80
push ecx
call ebp
mov edx, dword [0x45a130]
push 0
push 0x32
mov dword [esp + 0x1c], edx
call edi
push eax
push 0x31
call edi
push eax
mov eax, dword [esp + 0x20]
push 1
push 0x80
push eax
call ebx
mov ecx, dword [esi + 4]
xor ebx, ebx
push eax
push ebx
push 0x80
push ecx
call ebp
call dword [0x44c254]
mov edx, dword [0x45a0e0]
mov edi, eax
add edx, 0x1c
push edx
call dword [0x44c250]
mov ecx, dword [0x45a1b0]
push edi
call fcn.00417c40
mov edi, eax
mov eax, dword [0x45a0e0]
add eax, 0x1c
push eax
call dword [0x44c258]
cmp esi, ebx
je 0x415ad7
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], ecx
jmp 0x415adb
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x14]
lea ecx, [edi + 4]
push edx
call fcn.00417b80
cmp esi, ebx
je 0x415af5
lea eax, [esi + 0x58]
mov dword [esp + 0x14], eax
jmp 0x415af9
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x10]
call fcn.00417be0
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x415b25
lea edx, [esp + 0x14]
lea ecx, [esi + 0x60]
push edx
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], 4
call fcn.00417d00
mov ecx, esi
call fcn.00416190
mov ecx, esi
call fcn.00415d30
mov ecx, esi
call fcn.00417a20
mov eax, dword [esi + 0x5c]
lea edi, [esi + 0x5c]
push ebx
push edi
call dword [eax + 0x1c]
mov ecx, esi
call fcn.004176f0
mov ecx, dword [esi + 4]
push ebx
push 0xc8
push 0x2710
push ecx
call dword [0x44c41c]
mov edx, dword [edi]
push ebx
push edi
call dword [edx + 0x38]
mov ecx, esi
call fcn.00417aa0
test eax, eax
jne 0x415b85
mov eax, dword [edi]
push 3
push edi
mov dword [esi + 0x154], 0x5001
call dword [eax + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x680], 1
mov edx, dword [0x454054]
pop edi
lea ecx, [eax - 0xc]
pop esi
pop ebp
cmp ecx, edx
pop ebx
je 0x415bc2
add eax, 0xfffffff4
push eax
call dword [0x44c268]
test eax, eax
jg 0x415bc2
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.0042a5ee
add esp, 4
mov ecx, dword [esp + 0x234]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x240
ret 8