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

Disassembly:
push 0xffffffffffffffff
push 0x49cfeb
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4bc7dc]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc7dc]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [ecx]
mov esi, edx
mov dword [esp + 0x38], esi
cmp ecx, eax
je 0x416219
mov edx, dword [esp + 0x3c]
push edx
push ecx
push eax
call fcn.004197e0
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 4]
add esp, 0xc
mov esi, ebx
cmp ebx, edi
je 0x41620e
call fcn.00416a50
add esi, 0x10
cmp esi, edi
jne 0x416202
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
mov dword [ecx + 4], ebx
call fcn.0040fdd0
mov ebx, dword [esi]
xor edx, edx
test al, al
setne dl
mov dword [esp + 0x24], ebx
inc edx
mov dword [esp + 0x44], edx
cmp ebx, dword [esi + 4]
je 0x416a20
mov eax, dword [esp + 0x44]
test dword [ebx + 0x60], eax
je 0x416a05
lea edi, [esp + 0x10c]
mov ecx, ebx
call fcn.00413770
mov dword [esp + 0x150], ebp
cmp dword [eax + 0x14], 8
jb 0x416265
mov esi, dword [eax]
jmp 0x416267
mov esi, eax
mov edx, dword [0x4bc2cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bc2cc
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x150], 1
cmp esi, ebp
je 0x4162b2
test esi, 0xffff0000
jne 0x4162b6
movzx esi, si
push esi
call fcn.004010e0
mov ecx, eax
add esp, 4
cmp ecx, ebp
je 0x4162df
lea edx, [esp + 0x1c]
push edx
mov eax, esi
call fcn.00403590
jmp 0x4162df
xor eax, eax
jmp 0x4162cf
mov eax, esi
lea edx, [eax + 2]
jmp 0x4162c0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4162c0
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
lea eax, [esp + 0x20]
call fcn.004032a0
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x1c]
mov byte [esp + 0x150], 2
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0040cd90
add esp, 0xc
mov esi, eax
mov byte [esp + 0x150], 3
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x416319
mov eax, dword [eax - 0xc]
push eax
push esi
call fcn.00403640
mov eax, dword [esi]
xor ecx, ecx
mov word [esp + 0xb8], cx
mov ebx, 7
mov ecx, eax
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], ebp
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x416340
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xbc]
call fcn.0040ca50
mov byte [esp + 0x150], 4
xor edx, edx
mov word [esp + 0x64], dx
push ebp
or eax, 0xffffffff
mov ecx, esi
lea edx, [esp + 0x68]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebp
call fcn.0040c720
mov edi, 8
mov byte [esp + 0x150], 6
cmp dword [esp + 0xcc], edi
jb 0x4163a8
mov eax, dword [esp + 0xb8]
push eax
call fcn.0047fe1e
add esp, 4
xor ecx, ecx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], ebp
mov word [esp + 0xb8], cx
mov byte [esp + 0x150], bl
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4163e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41640f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 9
cmp dword [esp + 0x120], edi
jb 0x416430
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.0047fe1e
add esp, 4
xor edx, edx
lea esi, [esp + 0xf0]
lea ecx, [esp + 0x64]
mov dword [esp + 0x120], ebx
mov dword [esp + 0x11c], ebp
mov word [esp + 0x10c], dx
call fcn.00475570
mov ecx, eax
push ebp
or eax, 0xffffffff
lea edx, [esp + 0x68]
mov byte [esp + 0x154], 0xa
call fcn.0040c720
mov byte [esp + 0x150], 9
cmp dword [esp + 0x104], edi
jb 0x416490
mov eax, dword [esp + 0xf0]
push eax
call fcn.0047fe1e
add esp, 4
push str..new
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x130]
push edx
call fcn.004131d0
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x150], 0xb
xor eax, eax
mov word [esp + 0x48], ax
push ebp
or eax, 0xffffffff
lea edx, [esp + 0x4c]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebp
call fcn.0040c720
mov byte [esp + 0x150], 0xd
cmp dword [esp + 0x13c], edi
jb 0x4164f1
mov ecx, dword [esp + 0x128]
push ecx
call fcn.0047fe1e
add esp, 4
mov esi, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x138], ebp
mov word [esp + 0x128], dx
cmp dword [esi + 0x3c], ebp
jne 0x416554
xor eax, eax
mov word [esp + 0x9c], ax
push ebp
or eax, 0xffffffff
lea ecx, [esp + 0x4c]
lea edx, [esp + 0xa0]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], ebp
call fcn.0040c720
mov byte [esp + 0x150], 0xe
or dword [esp + 0x18], 1
lea ecx, [esp + 0x9c]
jmp 0x4165bf
push str..org
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0xf8]
push edx
call fcn.004131d0
add esp, 0xc
mov ecx, eax
mov dword [esp + 0x150], 0xf
or dword [esp + 0x18], 2
xor eax, eax
mov word [esp + 0xd4], ax
push ebp
or eax, 0xffffffff
lea edx, [esp + 0xd8]
mov dword [esp + 0xec], ebx
mov dword [esp + 0xe8], ebp
call fcn.0040c720
mov dword [esp + 0x150], 0x10
or dword [esp + 0x18], 4
lea ecx, [esp + 0xd4]
xor edx, edx
mov word [esp + 0x80], dx
push ebp
or eax, 0xffffffff
lea edx, [esp + 0x84]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], ebp
call fcn.0040c720
mov dword [esp + 0x150], 0x12
test byte [esp + 0x18], 4
je 0x41662f
and dword [esp + 0x18], 0xfffffffb
cmp dword [esp + 0xe8], edi
jb 0x416617
mov eax, dword [esp + 0xd4]
push eax
call fcn.0047fe1e
add esp, 4
xor ecx, ecx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xe4], ebp
mov word [esp + 0xd4], cx
mov byte [esp + 0x150], 0x13
test byte [esp + 0x18], 2
je 0x416674
and dword [esp + 0x18], 0xfffffffd
cmp dword [esp + 0x104], edi
jb 0x41665c
mov edx, dword [esp + 0xf0]
push edx
call fcn.0047fe1e
add esp, 4
xor eax, eax
mov dword [esp + 0x104], ebx
mov dword [esp + 0x100], ebp
mov word [esp + 0xf0], ax
mov byte [esp + 0x150], 0x14
test byte [esp + 0x18], 1
je 0x4166b9
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0xb0], edi
jb 0x4166a1
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0047fe1e
add esp, 4
xor edx, edx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], dx
cmp dword [esi + 0x14], edi
jb 0x4166c0
mov esi, dword [esi]
mov eax, dword [0x4bc2cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bc2cc
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x150], 0x15
cmp esi, ebp
je 0x41670a
test esi, 0xffff0000
jne 0x41670e
movzx esi, si
push esi
call fcn.004010e0
mov ecx, eax
add esp, 4
cmp ecx, ebp
je 0x416738
lea eax, [esp + 0x28]
push eax
mov eax, esi
call fcn.00403590
jmp 0x416738
xor eax, eax
jmp 0x416722
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x416713
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
lea eax, [esp + 0x2c]
call fcn.004032a0
mov ebx, 7
mov edi, 8
mov byte [esp + 0x150], 0x16
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x5c], edi
jae 0x41674e
lea esi, [esp + 0x48]
mov edx, dword [0x4bc2cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bc2cc
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x150], 0x17
cmp esi, ebp
je 0x416799
test esi, 0xffff0000
jne 0x41679d
movzx esi, si
push esi
call fcn.004010e0
mov ecx, eax
add esp, 4
cmp ecx, ebp
je 0x4167c7
lea edx, [esp + 0x2c]
push edx
mov eax, esi
call fcn.00403590
jmp 0x4167c7
xor eax, eax
jmp 0x4167b1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4167a2
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
lea eax, [esp + 0x30]
call fcn.004032a0
mov ebx, 7
mov edi, 8
mov byte [esp + 0x150], 0x18
mov esi, dword [esp + 0x80]
cmp dword [esp + 0x94], edi
jae 0x4167e6
lea esi, [esp + 0x80]
mov eax, dword [0x4bc2cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bc2cc
call edx
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x150], 0x19
cmp esi, ebp
je 0x416830
test esi, 0xffff0000
jne 0x416834
movzx esi, si
push esi
call fcn.004010e0
mov ecx, eax
add esp, 4
cmp ecx, ebp
je 0x416865
lea eax, [esp + 0x30]
push eax
mov eax, esi
call fcn.00403590
jmp 0x416865
xor eax, eax
jmp 0x41684f
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x416840
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
lea eax, [esp + 0x34]
call fcn.004032a0
mov ebx, 7
mov edi, 8
mov byte [esp + 0x150], 0x1a
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x78], edi
jae 0x41687b
lea esi, [esp + 0x64]
mov edx, dword [0x4bc2cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bc2cc
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x150], 0x1b
cmp esi, ebp
je 0x4168c6
test esi, 0xffff0000
jne 0x4168ca
movzx esi, si
push esi
call fcn.004010e0
mov ecx, eax
add esp, 4
cmp ecx, ebp
je 0x4168f0
lea edx, [esp + 0x34]
push edx
mov eax, esi
call fcn.00403590
jmp 0x4168f0
xor eax, eax
jmp 0x4168df
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4168d0
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
lea eax, [esp + 0x38]
call fcn.004032a0
mov ebx, 7
mov edi, dword [esp + 0x20]
mov byte [esp + 0x150], 0x1c
mov eax, dword [edi + 4]
lea ecx, [esp + 0x28]
cmp ecx, eax
jae 0x416941
mov ecx, dword [edi]
lea edx, [esp + 0x28]
cmp ecx, edx
ja 0x416941
mov esi, edx
sub esi, ecx
cmp eax, dword [edi + 8]
jne 0x416921
mov eax, edi
call fcn.00419370
mov eax, dword [edi + 4]
and esi, 0xfffffff0
add esi, dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x150], 0x1d
cmp eax, ebp
je 0x416972
mov edi, esi
jmp 0x416968
cmp eax, dword [edi + 8]
jne 0x41694d
mov eax, edi
call fcn.00419370
mov eax, dword [edi + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x150], 0x1e
cmp eax, ebp
je 0x416972
lea edi, [esp + 0x28]
push eax
call fcn.00419a80
mov edi, dword [esp + 0x20]
add dword [edi + 4], 0x10
lea esi, [esp + 0x28]
call fcn.00416a50
mov esi, 8
mov byte [esp + 0x150], 0xd
cmp dword [esp + 0x94], esi
jb 0x4169a5
mov eax, dword [esp + 0x80]
push eax
call fcn.0047fe1e
add esp, 4
xor ecx, ecx
mov byte [esp + 0x150], 9
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebp
mov word [esp + 0x80], cx
cmp dword [esp + 0x5c], esi
jb 0x4169d8
mov edx, dword [esp + 0x48]
push edx
call fcn.0047fe1e
add esp, 4
xor eax, eax
mov dword [esp + 0x150], 0xffffffff
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], ax
cmp dword [esp + 0x78], esi
jb 0x416a05
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0047fe1e
add esp, 4
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
add ebx, 0x9c
mov dword [esp + 0x24], ebx
cmp ebx, dword [edx + 4]
jne 0x416239
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0047fe29
add esp, 0x140
ret