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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41b46a
sub esp, 0x7c
mov ebx, dword [esp + 0x80]
and ebx, 3
cmp ebx, 0
je 0x41afdd
mov ebx, 0x5f7656
mov dword [esp], ebx
mov dword [esp + 4], 0x23
call fcn.00429580
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 [0x6cfc54], 0
je 0x41b39b
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 0x41b391
xor eax, eax
cmp al, 0
jne 0x41b1be
call fcn.00429d60
mov ebx, dword [esp + 0x80]
xor ecx, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
call fcn.00429d60
mov ebx, 0x5fbda4
mov dword [esp], ebx
mov dword [esp + 4], 0x44
call fcn.0042a770
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0042a600
mov ebx, 0x5ee226
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042a770
call fcn.00429de0
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.00429d60
mov ebx, 0x5f4166
mov dword [esp], ebx
mov dword [esp + 4], 0x18
call fcn.0042a770
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.0042a600
mov ebx, 0x5ee20c
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042a770
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.0042a600
mov ebx, 0x5ee244
mov dword [esp], ebx
mov dword [esp + 4], 2
call fcn.0042a770
call fcn.00429de0
mov ebx, 0x5ee6e4
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.0041b480
mov ebx, 0x5ee4b7
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.0041b480
mov ebx, 0x5f64f8
mov dword [esp], ebx
mov dword [esp + 4], 0x1f
call fcn.00429580
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x40]
cmp ebp, 4
jne 0x41b35f
mov dword [esp + 0x38], ecx
movzx ebx, byte [ecx]
mov ecx, edx
mov dword [esp + 0x3c], edx
cmp edx, 8
jae 0x41b358
shr bl, cl
and ebx, 1
cmp bl, 0
jne 0x41b34e
xor eax, eax
cmp al, 0
je 0x41b20e
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.0040f2f0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x40]
cmp ebp, 4
jne 0x41b31c
mov dword [esp + 0x30], ecx
movzx ebx, byte [ecx]
mov ecx, edx
mov dword [esp + 0x34], edx
cmp edx, 8
jae 0x41b315
shr bl, cl
and ebx, 1
cmp bl, 0
jne 0x41b30b
xor eax, eax
cmp al, 0
jne 0x41b297
mov ebx, 0x5f8bfa
mov dword [esp], ebx
mov dword [esp + 4], 0x29
call fcn.00429580
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x80]
mov eax, dword [eax]
xor ebp, ebp
cmp eax, ebp
jne 0x41b2d2
xor eax, eax
cmp al, 0
jne 0x41b2ce
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
call fcn.0041d0b0
add esp, 0x7c
ret
mov ebp, dword [eax + 0xc]
cmp ebp, 0x1fc
jne 0x41b2e1
xor eax, eax
jmp 0x41b2af
mov ebp, dword [eax + 0xc]
lea esi, [eax + 0x10]
cmp ebp, 0x1fc
jae 0x41b304
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 0x41b2af
call fcn.004278c0
ud2
mov eax, 1
jmp 0x41b27d
xor ebx, ebx
jmp 0x41b26d
mov dword [esp + 0x30], ecx
movzx ebx, byte [ecx]
mov dword [esp + 0x34], edx
mov ecx, edx
inc ecx
cmp ecx, 8
jae 0x41b34a
shr bl, cl
and ebx, 0x10
cmp bl, 0
jne 0x41b340
xor eax, eax
jmp 0x41b27d
mov eax, 1
jmp 0x41b27d
xor ebx, ebx
jmp 0x41b32f
mov eax, 1
jmp 0x41b205
xor ebx, ebx
jmp 0x41b1f5
mov dword [esp + 0x38], ecx
movzx ebx, byte [ecx]
mov dword [esp + 0x3c], edx
mov ecx, edx
inc ecx
cmp ecx, 8
jae 0x41b38d
shr bl, cl
and ebx, 0x10
cmp bl, 0
jne 0x41b383
xor eax, eax
jmp 0x41b205
mov eax, 1
jmp 0x41b205
xor ebx, ebx
jmp 0x41b372
mov eax, 1
jmp 0x41b05c
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 0x41b460
xor eax, eax
cmp al, 0
je 0x41b3c8
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.004ad3f0
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 0x41b43d
mov eax, 1
cmp al, 0
jne 0x41b297
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 0x41b45c
shr bl, cl
and ebx, 0x10
cmp bl, 0
jne 0x41b455
xor eax, eax
jmp 0x41b406
mov eax, 1
jmp 0x41b406
xor ebx, ebx
jmp 0x41b447
mov eax, 1
jmp 0x41b3bf
call fcn.0044fe90
jmp fcn.0041afa0