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

Disassembly:
push 0xffffffffffffffff
push 0x430a1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0xd0]
mov ecx, dword [0x4313b0]
xor ebx, ebx
cmp eax, ecx
mov dword [esp + 0xc0], ebx
jne 0x41bfc9
push 1
lea ecx, [esp + 0xcc]
mov dword [esp + 0xc4], 0xffffffff
call fcn.0040aae0
xor eax, eax
jmp 0x41c3db
cmp eax, ebx
jbe 0x41c3bd
mov al, byte [esp + 0x13]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x28], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 1
call fcn.0040aae0
mov edi, 0x438cd8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x438cd8
lea ecx, [esp + 0x1c]
call fcn.0040ad80
lea edx, [esp + 0x14]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0xcc]
push eax
push ecx
mov byte [esp + 0xcc], 2
call fcn.004163c0
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0xc0], 1
push 1
call fcn.0040aae0
mov ebp, dword [esp + 0xd8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp eax, ebx
je 0x41c37f
mov esi, dword [esp + 0x24]
mov edx, ecx
sub edx, eax
sar edx, 4
cmp esi, edx
jae 0x41c37f
mov al, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x4c], esp
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.0040aae0
mov edi, 0x438c70
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x438c70
mov ecx, esi
call fcn.0040ad80
mov ecx, dword [esp + 0x34]
mov byte [esp + 0xd0], 1
push ecx
lea ecx, [esp + 0x3c]
call fcn.0041c590
lea edx, [esp + 0x80]
push eax
push edx
call fcn.00416810
add esp, 0x18
cmp dword [esp + 0x78], ebx
jbe 0x41c353
mov al, byte [esp + 0x13]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x44], cl
lea ecx, [esp + 0x44]
mov byte [esp + 0xc4], 5
call fcn.0040aae0
mov edi, 0x438c70
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x438c70
lea ecx, [esp + 0x48]
call fcn.0040ad80
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x18]
add edx, ecx
push eax
push edx
mov byte [esp + 0xcc], 6
call fcn.004163c0
add esp, 0xc
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 5
push 1
call fcn.0040aae0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41c2f7
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 4
cmp ecx, 2
jb 0x41c2f7
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x4c], esp
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.0040aae0
mov edi, 0x438c70
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x438c70
mov ecx, esi
call fcn.0040ad80
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], 5
call fcn.0041c590
push eax
lea eax, [esp + 0x74]
push eax
call fcn.00416810
mov cl, byte [esp + 0x2b]
add esp, 8
mov esi, esp
mov dword [esp + 0x4c], esp
push ebx
mov byte [esp + 0xd4], 8
mov byte [esi], cl
mov ecx, esi
call fcn.0040aae0
mov edi, 0x438c70
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x438c70
mov ecx, esi
call fcn.0040ad80
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], 8
call fcn.0041c590
lea edx, [esp + 0x90]
push eax
push edx
call fcn.00416810
add esp, 0x18
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0xc4], 0xa
mov byte [esp + 0x54], al
call fcn.0040aae0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 0xb
call fcn.0040ac60
push eax
lea eax, [esp + 0x94]
push eax
mov ecx, ebp
mov byte [esp + 0xc8], 0xc
call fcn.0040ab30
mov esi, dword [eax]
mov byte [esp + 0xc0], 0xb
lea ecx, [esp + 0x98]
call fcn.0040bfa0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xc4], 0xa
call fcn.0040aae0
mov edx, dword [0x4313b0]
lea eax, [esp + 0x80]
push edx
push ebx
lea ecx, [esi + 0x1c]
push eax
call fcn.0040a8e0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xc4], 8
call fcn.0040aae0
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0xc4], 5
call fcn.0040aae0
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push eax
push eax
call fcn.0041cba0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov esi, eax
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00414740
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
cmp edi, esi
mov byte [esp + 0xc0], 4
je 0x41c33e
push ebx
mov ecx, edi
call fcn.00414790
add edi, 0x10
cmp edi, esi
jne 0x41c32b
mov edi, dword [esp + 0x18]
push edi
call fcn.00420ca8
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0xc4], 1
call fcn.0040aae0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
inc ecx
add eax, 0x10
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], eax
jmp 0x41c061
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.0041c770
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], bl
call fcn.00414740
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00420ca8
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push 1
lea ecx, [esp + 0xcc]
mov dword [esp + 0xc4], 0xffffffff
call fcn.0040aae0
mov eax, 1
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb4
ret