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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41d772
sub esp, 0x70
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x78]
test edx, edx
jne 0x41cf4f
mov edx, dword [ecx + 0x68]
test edx, edx
jne 0x41cf4f
cmp dword [ecx], eax
jne 0x41d75a
mov ecx, dword [0x729cec]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x74]
movzx ebx, byte [edx + 0x3b]
mov byte [esp + 0x1b], bl
cmp bl, 1
jne 0x41d6aa
lea ebp, [ecx - 1]
cmp dword [edx + 0x30], ebp
jne 0x41d6aa
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], ebp
movzx ebx, byte [0x730108]
test bl, bl
jne 0x41d4e4
mov eax, dword [edx + 0x10]
lea ecx, [0x729d38]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.004021d0
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x74]
movzx edx, byte [ecx + 0x3a]
mov byte [esp + 0x15], dl
mov ebx, dword [ecx + 0x40]
mov dword [esp + 0x28], ebx
mov eax, dword [eax + 0xbc]
mov dword [esp + 0x4c], eax
lea ebp, [ecx + 0x54]
mov esi, dword [ecx + 0x54]
jmp 0x41cfe9
mov eax, dword [esp + 0x4c]
mov ecx, edi
mov ebp, esi
mov esi, edx
movzx edx, byte [esp + 0x15]
test esi, esi
je 0x41d0f7
movzx edi, word [esi + 4]
test ebx, ebx
je 0x41d6a3
mov dword [esp + 0x44], ebp
mov eax, edi
xor edx, edx
div ebx
nop
mov edx, eax
imul eax, ebx
nop
nop
nop
nop
mov edi, edx
shr edx, 3
and edi, 7
mov ecx, edi
mov ebp, 1
shl ebp, cl
nop
mov edi, dword [esp + 0x74]
add edx, dword [edi + 0x2c]
mov ecx, edx
movzx edx, byte [edx]
xchg ebp, eax
test dl, al
xchg ebp, eax
je 0x41d039
mov edx, dword [esi]
jmp 0x41cfda
nop
add ebx, eax
mov eax, esi
jmp 0x41d046
mov esi, dword [esi]
mov edi, dword [esp + 0x74]
test esi, esi
je 0x41d0f0
movzx edi, word [esi + 4]
cmp edi, ebx
jae 0x41d0e9
cmp byte [esi + 6], 1
jne 0x41d040
nop
or edx, ebp
mov byte [ecx], dl
mov ecx, 1
mov dword [esp + 0x30], ebx
mov byte [esp + 0x17], cl
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x44]
jmp 0x41d082
mov esi, eax
mov eax, ebp
mov ebp, esi
test eax, eax
je 0x41d0da
movzx esi, word [eax + 4]
cmp esi, ebx
jae 0x41d0da
nop
mov edi, dword [edx + 0xc]
add esi, edi
cmp byte [eax + 6], 1
je 0x41d0a2
test cl, cl
je 0x41d0a2
mov ebp, dword [eax]
jmp 0x41d07c
mov dword [esp + 0x54], ebp
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov dword [ebp], ecx
mov dword [esp], eax
mov dword [esp + 4], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.004216f0
movzx ecx, byte [esp + 0x17]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
jmp 0x41d07c
mov ebx, dword [esp + 0x28]
mov edi, edx
mov edx, eax
mov esi, ebp
jmp 0x41cfda
xor ecx, ecx
jmp 0x41d06a
xor ecx, ecx
jmp 0x41d06a
mov ebp, dword [0x738540]
test ebp, ebp
je 0x41d4d1
nop
mov ebp, dword [ecx + 0x2c]
mov dword [esp + 0x58], ebp
mov byte [esp + 0x5c], 1
mov dword [esp + 0x60], 0
nop
mov ebp, dword [ecx + 0x28]
nop
nop
nop
mov dword [esp + 0x64], ebp
mov byte [esp + 0x68], 1
mov dword [esp + 0x6c], 0
xor ebp, ebp
jmp 0x41d13b
inc dword [esp + 0x6c]
inc ebp
cmp dword [ecx + 0x1c], ebp
jbe 0x41d258
mov esi, dword [esp + 0x58]
nop
movzx edi, byte [esp + 0x5c]
movzx esi, byte [esi]
xchg edi, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg edi, eax
je 0x41d1a1
nop
movzx esi, byte [esp + 0x5c]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41d197
inc dword [esp + 0x58]
mov byte [esp + 0x5c], 1
inc dword [esp + 0x60]
nop
movzx esi, byte [esp + 0x68]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41d18d
inc dword [esp + 0x64]
mov byte [esp + 0x68], 1
jmp 0x41d136
shl esi, 1
xchg esi, eax
mov byte [esp + 0x68], al
xchg esi, eax
jmp 0x41d136
shl esi, 1
xchg esi, eax
mov byte [esp + 0x5c], al
xchg esi, eax
jmp 0x41d171
mov esi, dword [ecx + 0x18]
cmp dword [esp + 0x6c], esi
jae 0x41d228
mov esi, 1
xchg esi, eax
test al, al
xchg esi, eax
je 0x41d15b
mov dword [esp + 0x2c], ebp
nop
mov esi, dword [ecx + 0x40]
imul esi, ebp
add esi, dword [ecx + 0xc]
mov edi, dword [0x738540]
test edi, edi
jne 0x41d1fd
mov edi, dword [0x738548]
test edi, edi
je 0x41d15b
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.0041d910
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x74]
movzx edx, byte [esp + 0x15]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x41d15b
mov dword [esp + 0x20], esi
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00422bb0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x74]
movzx edx, byte [esp + 0x15]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
jmp 0x41d1cd
mov edi, dword [esp + 0x64]
mov esi, edi
movzx edi, byte [esp + 0x68]
xchg edi, eax
mov byte [esp + 0x1a], al
xchg edi, eax
movzx edi, byte [esi]
mov esi, edi
movzx edi, byte [esp + 0x1a]
xchg edi, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg edi, eax
xchg esi, ebx
setne bl
xchg esi, ebx
nop
jmp 0x41d1af
mov dword [esp], ecx
call fcn.004107d0
mov eax, dword [esp + 4]
nop
movzx ecx, byte [esp + 0x15]
mov edx, ecx
shr cl, 1
test cl, cl
jne 0x41d4c6
test ax, ax
jne 0x41d4c6
mov ebx, dword [esp + 0x74]
mov byte [ebx + 0x3c], 1
mov ebp, 1
movzx esi, word [ebx + 0x38]
mov edi, esi
sub esi, eax
mov word [esp + 0x1c], si
cmp ax, di
ja 0x41d5b9
mov byte [esp + 0x19], cl
xchg ebp, eax
mov byte [esp + 0x18], al
xchg ebp, eax
mov word [ebx + 0x38], ax
mov dword [esp], ebx
call fcn.0040f3d0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x38], edx
cmp edx, ecx
mov dword [eax + 0x18], 0
movzx ebx, byte [0x730108]
test bl, bl
je 0x41d305
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x54]
nop
movzx ebp, word [esp + 0x1c]
movzx esi, bp
imul esi, dword [eax + 0x40]
add dword [ebx + 0x934], esi
mov ecx, dword [eax + 0x2c]
mov dword [eax + 0x28], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp], ecx
call fcn.004218c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x2c], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0040f330
movzx eax, byte [esp + 0x18]
test al, al
je 0x41d4b3
mov ecx, dword [esp + 0x74]
movzx edx, byte [ecx + 0x3b]
mov byte [esp + 0x1b], dl
cmp dl, 1
jne 0x41d509
mov ebx, dword [esp + 0x40]
cmp dword [ecx + 0x30], ebx
jne 0x41d509
lea eax, [ecx + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00402270
movzx eax, word [esp + 0x1c]
test ax, ax
jbe 0x41d4aa
nop
movzx ecx, byte [esp + 0x19]
test cl, cl
je 0x41d436
mov edx, dword [esp + 0x4c]
test byte [edx], al
movsx ecx, cl
nop
cmp ecx, 0x43
jae 0x41d502
movzx eax, ax
add dword [edx + ecx*4 + 0x24c], eax
movzx eax, byte [esp + 0x15]
movzx eax, al
cmp eax, 0x86
jae 0x41d4fb
shl eax, 6
lea ecx, [0x729fd8]
lea eax, [ecx + eax]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x78]
mov byte [esp + 8], cl
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
sete cl
mov byte [esp + 9], cl
call fcn.004125c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x41d406
mov byte [esp + 0x7c], al
add esp, 0x70
ret
mov byte [esp + 0x16], al
mov eax, dword [esp + 0x24]
shr eax, 1
and eax, 1
lea eax, [eax + eax*4]
lea ecx, [0x729d04]
lea eax, [ecx + eax*4]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0041d950
movzx eax, byte [esp + 0x16]
jmp 0x41d3fe
movzx eax, byte [esp + 0x18]
test al, al
je 0x41d4a3
mov eax, dword [0x73854c]
test eax, eax
jle 0x41d486
mov eax, dword [esp + 0x74]
mov dword [eax + 0x4c], 0
mov ecx, dword [eax + 0xc]
nop
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.00412c60
mov eax, dword [esp + 0x4c]
inc dword [eax + 0x248]
mov ecx, dword [esp + 0x28]
add dword [eax + 0x244], ecx
mov eax, 1
jmp 0x41d3fa
lea eax, [0x729ce0]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004203b0
jmp 0x41d468
xor eax, eax
jmp 0x41d3fa
movzx eax, byte [esp + 0x18]
test al, al
jmp 0x41d43d
movzx ecx, word [esp + 0x1c]
test cx, cx
je 0x41d33e
jmp 0x41d373
mov ebx, dword [esp + 0x74]
xor ebp, ebp
jmp 0x41d28c
mov ebp, dword [0x738548]
test ebp, ebp
jne 0x41d105
jmp 0x41d258
mov eax, dword [edx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.00441c50
mov edx, dword [esp + 0x74]
jmp 0x41cf91
call fcn.00427000
ud2
call fcn.00427000
ud2
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x40], eax
call fcn.00428b90
lea eax, [0x5c9ec9]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00429420
movzx eax, byte [esp + 0x1b]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429140
lea eax, [0x5c746c]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00429420
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429140
lea eax, [0x5c8c0f]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00429420
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429140
call fcn.00428db0
call fcn.00428c00
lea eax, [0x5d0568]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00428300
ud2
mov dword [esp + 0x34], eax
mov word [esp + 0x1e], di
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x3c], eax
call fcn.00428b90
lea eax, [0x5c903f]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00429420
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429140
lea eax, [0x5c6de7]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00429420
mov eax, dword [esp + 0x34]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429140
lea eax, [0x5ca781]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00429420
movzx eax, word [esp + 0x1e]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429140
lea eax, [0x5c6df7]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00429420
movzx eax, word [esp + 0x1c]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429140
call fcn.00428db0
call fcn.00428c00
lea eax, [0x5ceb70]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00428300
ud2
call fcn.00427200
ud2
mov eax, dword [edx + 0x30]
mov dword [esp + 0x40], eax
call fcn.00428b90
lea eax, [0x5c9ec9]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00429420
movzx eax, byte [esp + 0x1b]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429140
lea eax, [0x5c746c]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00429420
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429140
lea eax, [0x5c8c0f]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00429420
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429140
call fcn.00428db0
call fcn.00428c00
lea eax, [0x5ccf61]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00428300
ud2
lea eax, [0x5cd4aa]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00428300
ud2
call fcn.0044b750
jmp fcn.0041cf10