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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cffd
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x450060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x154], ecx
mov ecx, dword [ebp - 0x154]
call fcn.00419e4d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x1c], 2
jne 0x41c05f
cmp dword [ebp - 0x18], 0
jne 0x41c05f
mov eax, dword [ebp + 8]
add eax, 0x130
push eax
mov ecx, dword [ebp - 0x154]
call fcn.0041ac3a
mov ecx, dword [ebp - 0x154]
call fcn.00419e4d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x74]
call fcn.0041d9d2
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 3
jne 0x41c122
cmp dword [ebp - 0x18], 0
jne 0x41c122
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp + 8]
add eax, 0x150
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x144]
push dword [eax + 0x140]
mov ecx, dword [ebp - 0x154]
call fcn.0041b9c4
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x41c0e4
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x128], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.0041d9ef
mov eax, dword [ebp - 0x128]
jmp 0x41ca72
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x150]
add edx, dword [ecx + 0x140]
mov eax, dword [eax + 0x154]
adc eax, dword [ecx + 0x144]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x150], edx
mov dword [ecx + 0x154], eax
mov ecx, dword [ebp - 0x154]
call fcn.00419e4d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x48]
call fcn.004174bc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004175ca
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
call fcn.0041746f
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 4
jne 0x41c1e6
cmp dword [ebp - 0x18], 0
jne 0x41c1e6
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 8]
add eax, 0x50
push eax
mov eax, dword [ebp + 8]
add eax, 0x3c
push eax
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
push dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, 0x148
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x154]
call fcn.0041b785
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x148]
add edx, dword [ecx + 0x140]
mov eax, dword [eax + 0x14c]
adc eax, dword [ecx + 0x144]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x148], edx
mov dword [ecx + 0x14c], eax
mov ecx, dword [ebp - 0x154]
call fcn.00419e4d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
jmp 0x41c274
and dword [ebp - 0xc4], 0
jmp 0x41c1fc
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp + 8]
add ecx, 0x3c
call fcn.0041572c
cmp dword [ebp - 0xc4], eax
jge 0x41c274
push 1
mov ecx, dword [ebp + 8]
add ecx, 0x50
call fcn.0041d50b
push dword [ebp - 0xc4]
mov ecx, dword [ebp + 8]
add ecx, 0x3c
call fcn.00417686
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
call fcn.00419bd9
push edx
push eax
lea ecx, [ebp - 0x48]
call fcn.0041d56b
mov eax, dword [ebp - 0xc8]
movzx eax, byte [eax + 0x54]
push eax
lea ecx, [ebp - 0x60]
call fcn.0041d6d8
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x50]
lea ecx, [ebp - 0x9c]
call fcn.0041d50b
jmp 0x41c1ef
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.0041fff2
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x18]
jne 0x41c2cc
and dword [ebp - 0x12c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
call fcn.00415773
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00415d6a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00415784
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.0041d9ef
mov eax, dword [ebp - 0x12c]
jmp 0x41ca72
cmp dword [ebp - 0x1c], 5
jne 0x41c2d8
cmp dword [ebp - 0x18], 0
je 0x41c2dd
call fcn.0041a401
mov ecx, dword [ebp - 0x154]
call fcn.00419e39
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.004200a6
and dword [ebp - 0x14], 0
jmp 0x41c306
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x4c]
jae 0x41c351
lea ecx, [ebp - 0x14c]
call fcn.00419d2a
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x15c]
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.0041d7b9
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14c]
call fcn.00417b91
jmp 0x41c2ff
push 0
push 9
mov ecx, dword [ebp + 8]
add ecx, 0x158
call fcn.0041d56b
mov ecx, dword [ebp + 8]
call fcn.00419af5
movzx eax, al
test eax, eax
jne 0x41c384
push 0
push 6
mov ecx, dword [ebp + 8]
add ecx, 0x158
call fcn.0041d56b
cmp dword [ebp - 0x4c], 0
jbe 0x41c3ae
lea ecx, [ebp - 0x9c]
call fcn.00419af5
movzx eax, al
test eax, eax
jne 0x41c3ae
push 0
push 0xa
mov ecx, dword [ebp + 8]
add ecx, 0x158
call fcn.0041d56b
lea ecx, [ebp - 0xb8]
call fcn.004175ca
mov byte [ebp - 4], 5
push dword [ebp - 0x4c]
lea eax, [ebp - 0xb8]
push eax
call fcn.00419eb9
lea ecx, [ebp - 0x30]
call fcn.004175ca
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.004175ca
mov byte [ebp - 4], 7
and dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0x154]
call fcn.00419e4d
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd4]
or eax, dword [ebp - 0xd0]
jne 0x41c418
jmp 0x41c88d
mov ecx, dword [ebp - 0x154]
call fcn.00419e25
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0x154]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0xd6], 1
mov byte [ebp - 0xd5], 1
cmp dword [ebp - 0xd0], 0
ja 0x41c464
cmp dword [ebp - 0xd4], 0x40000000
jbe 0x41c470
mov byte [ebp - 0xd5], 0
jmp 0x41c7b7
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
sub eax, 0xe
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0xb
ja case.0x41c49e.8
mov eax, dword [ebp - 0x160]
jmp dword [eax*4 + 0x41ca83]
lea ecx, [ebp - 0xf0]
call fcn.0041a415
mov byte [ebp - 4], 8
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x154]
lea ecx, [ebp - 0xf0]
call fcn.0041a4b8
and dword [ebp - 0xf4], 0
jmp 0x41c4df
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.0041572c
cmp dword [ebp - 0xf4], eax
jge 0x41c517
push dword [ebp - 0xf4]
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.00417781
add eax, 0x10
push eax
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x18]
call fcn.0041a7d3
jmp 0x41c4d2
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf0]
call fcn.0041a428
jmp 0x41c7b7
lea ecx, [ebp - 0x108]
call fcn.004175ca
mov byte [ebp - 4], 9
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.0041572c
push eax
mov ecx, dword [ebp - 0x154]
call fcn.0041b896
lea ecx, [ebp - 0x110]
call fcn.0041a415
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x154]
lea ecx, [ebp - 0x110]
call fcn.0041a4b8
and dword [ebp - 0x14], 0
jmp 0x41c589
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x4c]
jae 0x41c5e2
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.00417781
mov dword [ebp - 0x114], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x108]
call fcn.0041d717
mov ecx, dword [ebp - 0x114]
mov al, byte [eax]
mov byte [ecx + 0x1f], al
mov eax, dword [ebp - 0x114]
movzx eax, byte [eax + 0x1f]
test eax, eax
je 0x41c5e0
mov ecx, dword [ebp - 0x154]
call fcn.00419e61
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 8], eax
jmp 0x41c582
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x110]
call fcn.0041a428
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x108]
call fcn.00415d6a
jmp 0x41c7b7
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x154]
call fcn.0041b81f
and dword [ebp - 0x14], 0
jmp 0x41c627
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xb8]
call fcn.0041572c
cmp dword [ebp - 0x14], eax
jae 0x41c65b
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb8]
call fcn.0041d717
movzx eax, byte [eax]
test eax, eax
je 0x41c659
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
jmp 0x41c620
push dword [ebp - 0xa4]
lea eax, [ebp - 0x30]
push eax
call fcn.00419eb9
push dword [ebp - 0xa4]
lea eax, [ebp - 0x88]
push eax
call fcn.00419eb9
jmp 0x41c7b7
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x154]
call fcn.0041b81f
jmp 0x41c7b7
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x154]
call fcn.0041b81f
jmp 0x41c7b7
push dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
add eax, 0xf0
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x154]
call fcn.0041b8fa
jmp 0x41c7b7
push dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
add eax, 0x78
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x154]
call fcn.0041b8fa
jmp 0x41c7b7
push dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
add eax, 0xa0
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x154]
call fcn.0041b8fa
jmp 0x41c7b7
push dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
add eax, 0xc8
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x154]
call fcn.0041b8fa
jmp 0x41c7b7
and dword [ebp - 0x11c], 0
and dword [ebp - 0x118], 0
jmp 0x41c764
mov eax, dword [ebp - 0x11c]
add eax, 1
mov ecx, dword [ebp - 0x118]
adc ecx, 0
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp - 0x118]
cmp eax, dword [ebp - 0xe0]
ja 0x41c79b
jb 0x41c782
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0xe4]
jae 0x41c79b
mov ecx, dword [ebp - 0x154]
call fcn.00419e11
movzx eax, al
test eax, eax
je 0x41c799
call fcn.0041a401
jmp 0x41c746
mov byte [ebp - 0xd6], 0
jmp 0x41c7b7
mov byte [ebp - 0xd5], 0
mov al, byte [ebp - 0xd5]
mov byte [ebp - 0xd6], al
movzx eax, byte [ebp - 0xd5]
test eax, eax
je 0x41c7e9
movzx eax, byte [ebp - 0xd6]
test eax, eax
je 0x41c7e7
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
mov ecx, dword [ebp + 8]
add ecx, 0x158
call fcn.0041d56b
jmp 0x41c800
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x154]
call fcn.00419e89
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x130]
test eax, eax
jg 0x41c826
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x131]
cmp eax, 2
jg 0x41c826
and dword [ebp - 0x164], 0
jmp 0x41c830
mov dword [ebp - 0x164], 1
mov al, byte [ebp - 0x164]
mov byte [ebp - 0xe5], al
movzx eax, byte [ebp - 0xe5]
test eax, eax
je 0x41c888
mov eax, dword [ebp - 0x154]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0xcc]
xor ecx, ecx
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], ecx
mov eax, dword [ebp - 0x16c]
cmp eax, dword [ebp - 0xe4]
jne 0x41c883
mov eax, dword [ebp - 0x168]
cmp eax, dword [ebp - 0xe0]
je 0x41c888
call fcn.0041a401
jmp 0x41c3ee
and dword [ebp - 0x34], 0
and dword [ebp - 0x10], 0
and dword [ebp - 0xa0], 0
and dword [ebp - 0x14], 0
jmp 0x41c8a9
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xa4]
jae 0x41c8d8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x88]
call fcn.0041d717
movzx eax, byte [eax]
test eax, eax
je 0x41c8d6
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
jmp 0x41c8a2
and dword [ebp - 0x14], 0
jmp 0x41c8e5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x4c]
jae 0x41ca08
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.00417781
mov dword [ebp - 0x124], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb8]
call fcn.0041d717
movzx eax, byte [eax]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x124]
mov byte [ecx + 0x1c], al
mov eax, dword [ebp - 0x124]
movzx eax, byte [eax + 0x1c]
test eax, eax
je 0x41c996
mov eax, dword [ebp - 0x124]
mov byte [eax + 0x1d], 0
mov byte [ebp - 0x11d], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
call fcn.004174f2
mov ecx, dword [ebp - 0x124]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x9c]
call fcn.004174a5
mov ecx, dword [ebp - 0x124]
mov eax, dword [eax]
mov dword [ecx + 0xc], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x60]
call fcn.0041d717
mov ecx, dword [ebp - 0x124]
mov al, byte [eax]
mov byte [ecx + 0x1e], al
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x41c9e6
push dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
call fcn.0041d717
movzx eax, byte [eax]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x124]
mov byte [ecx + 0x1d], al
push dword [ebp - 0x34]
lea ecx, [ebp - 0x88]
call fcn.0041d717
mov al, byte [eax]
mov byte [ebp - 0x11d], al
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x124]
and dword [eax], 0
and dword [eax + 4], 0
mov eax, dword [ebp - 0x124]
mov byte [eax + 0x1e], 0
cmp dword [ebp - 0xa0], 0
je 0x41ca03
push dword [ebp - 0x11d]
mov ecx, dword [ebp + 8]
add ecx, 0x118
call fcn.0041d6d8
jmp 0x41c8de
and dword [ebp - 0x150], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.00415d6a
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00415d6a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb8]
call fcn.00415d6a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
call fcn.00415773
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00415d6a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00415784
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.0041d9ef
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4