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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441e43
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x448138]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00416836
mov al, byte [ebp + 0x18]
mov byte [esi + 0x1cb], al
push 0xffffffffffffffff
lea eax, [esi + 0x174]
push eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
call fcn.00408aa4
push 0xffffffffffffffff
lea eax, [esi + 0x190]
push eax
mov eax, dword [ebp + 0x14]
call fcn.00408aa4
push 0xffffffffffffffff
lea eax, [esi + 0x1ac]
push eax
mov eax, dword [ebp + 0x24]
call fcn.00408aa4
cmp dword [edi + 0x14], ebx
je 0x41585d
push 0x405554
lea ecx, [esp + 0x60]
call fcn.00408751
and dword [esp + 0x138], ebx
cmp dword [edi + 0x18], 0x10
jb 0x4157e0
mov edi, dword [edi + 4]
jmp 0x4157e3
add edi, 4
push edi
lea eax, [esp + 0xa4]
push eax
call fcn.00418d94
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0xe0]
push eax
mov byte [esp + 0x144], 1
call fcn.004170d0
push eax
lea edi, [esp + 0x34]
mov ebx, esi
mov byte [esp + 0x13c], 2
call fcn.00416d9a
lea edi, [esp + 0xf4]
call fcn.0040a540
push 0
push 1
lea ecx, [esp + 0xe0]
call fcn.00408339
lea edi, [esp + 0xa0]
call fcn.0040a540
or dword [esp + 0x138], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.00408339
lea ebx, [esi + 0x2c]
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], 0
mov esi, dword [ebx + 4]
je 0x41587d
cmp dword [esp + 0x10], ebx
je 0x415882
call fcn.0042b0a4
cmp dword [esp + 0x14], esi
je 0x4158af
lea esi, [esp + 0x10]
call fcn.0041a8b0
mov esi, dword [eax]
test esi, esi
je 0x4158a4
push esi
call fcn.004193e9
push esi
call fcn.0042acb2
pop ecx
lea esi, [esp + 0x10]
call fcn.0041a8ed
jmp 0x41586d
mov esi, ebx
call fcn.00411ffb
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push 0x405564
push dword [ebp + 0xc]
mov dword [esp + 0x144], 3
call fcn.0040e459
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x20]
jbe 0x4158f0
call fcn.0042b0a4
lea eax, [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x1c], esi
jbe 0x41590f
call fcn.0042b0a4
mov dword [esp + 0x34], esi
lea edi, [esp + 0x30]
lea esi, [esp + 0x28]
call fcn.0040c70d
test al, al
je 0x415a03
push 0x150
call fcn.0042b220
pop ecx
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x138], 4
je 0x41595d
call fcn.0041a8d0
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x38]
push edx
push ecx
push dword [eax]
mov ecx, dword [esp + 0x1c]
call fcn.00418e73
jmp 0x41595f
xor eax, eax
test eax, eax
mov byte [esp + 0x138], 3
mov dword [esp + 0x10], eax
je 0x4159a9
mov esi, dword [ebx + 4]
lea eax, [esp + 0x10]
push eax
push dword [esi + 4]
push esi
call fcn.004108eb
mov ecx, dword [ebx + 8]
mov edx, 0x3fffffff
sub edx, ecx
cmp edx, 1
jb 0x4159cc
inc ecx
mov dword [ebx + 8], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
lea esi, [esp + 0x28]
mov dword [ecx], eax
call fcn.00417150
jmp 0x415900
push 0x588
lea eax, [esp + 0x40]
push 0xe
push eax
call fcn.0040897e
add esp, 0xc
push 0x443060
lea eax, [esp + 0x40]
push eax
call fcn.0042d76b
push 0x404b90
lea ecx, [esp + 0x40]
call fcn.00408751
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x13c], 5
call fcn.004085e1
mov dword [esp + 0x78], 0x4013b8
push 0x44309c
lea eax, [esp + 0x7c]
jmp 0x4159c6
push dword [ebp + 0x20]
mov esi, dword [ebp + 8]
push dword [ebp + 0x1c]
lea eax, [esi + 0x38]
push eax
call fcn.00414adc
mov byte [esi + 0x1c8], 1
lea esi, [esp + 0x18]
call fcn.00420b6d
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20