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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41c34a
sub esp, 0x7c
mov ebx, dword [esp + 0x80]
and ebx, 3
cmp ebx, 0
je 0x41bebd
mov ebx, 0x5fecc8
mov dword [esp], ebx
mov dword [esp + 4], 0x23
call fcn.0042a460
mov edx, dword [esp + 0x94]
mov edi, dword [esp + 0x9c]
xor ebx, ebx
mov eax, edi
shr edi, 3
mov ecx, eax
and ecx, 7
mov ebx, 1
shl ebx, cl
mov esi, ebx
mov edx, dword [edx + 0x2c]
add edx, edi
xor ebx, ebx
mov dword [esp + 0x70], edx
xchg esi, eax
mov byte [esp + 0x74], al
xchg esi, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x40], edx
xchg esi, eax
mov byte [esp + 0x44], al
xchg esi, eax
mov ecx, esi
mov dword [esp + 0x48], eax
cmp byte [0x6d9c74], 0
je 0x41c27b
mov dword [esp + 0x4c], edx
mov byte [esp + 0x50], cl
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], edx
movzx ebp, byte [edx]
mov byte [esp + 0x68], cl
and ebp, ecx
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41c271
xor eax, eax
cmp al, 0
jne 0x41c09e
call fcn.0042ac40
mov ebx, dword [esp + 0x80]
xor ecx, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
call fcn.0042ac40
mov ebx, 0x603416
mov dword [esp], ebx
mov dword [esp + 4], 0x44
call fcn.0042b650
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0042b4e0
mov ebx, 0x5f57a6
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042b650
call fcn.0042acc0
mov ebx, dword [esp + 0x84]
xor ecx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x88]
xor ecx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
call fcn.0042ac40
mov ebx, 0x5fb787
mov dword [esp], ebx
mov dword [esp + 4], 0x18
call fcn.0042b650
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.0042b4e0
mov ebx, 0x5f578c
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042b650
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.0042b4e0
mov ebx, 0x5f57c5
mov dword [esp], ebx
mov dword [esp + 4], 2
call fcn.0042b650
call fcn.0042acc0
mov ebx, 0x5f5c65
mov dword [esp], ebx
mov dword [esp + 4], 4
mov ebx, dword [esp + 0x84]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc], ebx
call fcn.0041c360
mov ebx, 0x5f5a38
mov dword [esp], ebx
mov dword [esp + 4], 3
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0xffffffff
call fcn.0041c360
mov ebx, 0x5fdb6a
mov dword [esp], ebx
mov dword [esp + 4], 0x1f
call fcn.0042a460
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x40]
cmp ebp, 4
jne 0x41c23f
mov dword [esp + 0x38], ecx
movzx ebx, byte [ecx]
mov ecx, edx
mov dword [esp + 0x3c], edx
cmp edx, 8
jae 0x41c238
shr bl, cl
and ebx, 1
cmp bl, 0
jne 0x41c22e
xor eax, eax
cmp al, 0
je 0x41c0ee
add esp, 0x7c
ret
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x40]
mov dword [esp + 8], ebp
call fcn.004101d0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x40]
cmp ebp, 4
jne 0x41c1fc
mov dword [esp + 0x30], ecx
movzx ebx, byte [ecx]
mov ecx, edx
mov dword [esp + 0x34], edx
cmp edx, 8
jae 0x41c1f5
shr bl, cl
and ebx, 1
cmp bl, 0
jne 0x41c1eb
xor eax, eax
cmp al, 0
jne 0x41c177
mov ebx, 0x60026c
mov dword [esp], ebx
mov dword [esp + 4], 0x29
call fcn.0042a460
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x80]
mov eax, dword [eax]
xor ebp, ebp
cmp eax, ebp
jne 0x41c1b2
xor eax, eax
cmp al, 0
jne 0x41c1ae
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
call fcn.0041df90
add esp, 0x7c
ret
mov ebp, dword [eax + 0xc]
cmp ebp, 0x1fc
jne 0x41c1c1
xor eax, eax
jmp 0x41c18f
mov ebp, dword [eax + 0xc]
lea esi, [eax + 0x10]
cmp ebp, 0x1fc
jae 0x41c1e4
shl ebp, 2
add esi, ebp
mov dword [esi], edx
mov ecx, dword [eax + 0xc]
inc ecx
mov dword [eax + 0xc], ecx
mov eax, 1
jmp 0x41c18f
call fcn.004287a0
ud2
mov eax, 1
jmp 0x41c15d
xor ebx, ebx
jmp 0x41c14d
mov dword [esp + 0x30], ecx
movzx ebx, byte [ecx]
mov dword [esp + 0x34], edx
mov ecx, edx
inc ecx
cmp ecx, 8
jae 0x41c22a
shr bl, cl
and ebx, 0x10
cmp bl, 0
jne 0x41c220
xor eax, eax
jmp 0x41c15d
mov eax, 1
jmp 0x41c15d
xor ebx, ebx
jmp 0x41c20f
mov eax, 1
jmp 0x41c0e5
xor ebx, ebx
jmp 0x41c0d5
mov dword [esp + 0x38], ecx
movzx ebx, byte [ecx]
mov dword [esp + 0x3c], edx
mov ecx, edx
inc ecx
cmp ecx, 8
jae 0x41c26d
shr bl, cl
and ebx, 0x10
cmp bl, 0
jne 0x41c263
xor eax, eax
jmp 0x41c0e5
mov eax, 1
jmp 0x41c0e5
xor ebx, ebx
jmp 0x41c252
mov eax, 1
jmp 0x41bf3c
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], edx
movzx ebp, byte [edx]
xchg esi, eax
mov byte [esp + 0x5c], al
xchg esi, eax
and ebp, esi
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41c340
xor eax, eax
cmp al, 0
je 0x41c2a8
add esp, 0x7c
ret
mov dword [esp + 0x4c], edx
mov dword [esp], edx
mov byte [esp + 0x50], cl
mov byte [esp + 4], cl
call fcn.004f76d0
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x40]
cmp ebp, 4
jne 0x41c31d
mov eax, 1
cmp al, 0
jne 0x41c177
mov ebx, dword [esp + 0x98]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x40]
xor ecx, ecx
add eax, ebp
adc edx, ecx
mov ebx, dword [esp + 0x98]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
add esp, 0x7c
ret
movzx ebx, byte [ecx]
mov ecx, edx
cmp edx, 8
jae 0x41c33c
shr bl, cl
and ebx, 0x10
cmp bl, 0
jne 0x41c335
xor eax, eax
jmp 0x41c2e6
mov eax, 1
jmp 0x41c2e6
xor ebx, ebx
jmp 0x41c327
mov eax, 1
jmp 0x41c29f
call fcn.00450ed0
jmp fcn.0041be80