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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41df5f
sub esp, 0x6c
mov eax, 0
lea edi, [esp + 0x54]
call fcn.0045302a
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x74]
test edx, edx
jne 0x41d76f
mov edx, dword [ecx + 0x64]
test edx, edx
jne 0x41d76f
mov ecx, dword [ecx]
cmp eax, ecx
jne 0x41df47
mov ecx, dword [0xc42470]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x70]
movzx ebx, byte [edx + 0x3c]
mov byte [esp + 0x1b], bl
cmp bl, 1
jne 0x41de97
mov ebp, dword [edx + 0x30]
lea esi, [ecx - 1]
cmp esi, ebp
jne 0x41de97
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], esi
movzx ebx, byte [0xc48868]
test bl, bl
jne 0x41dcd1
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
lea eax, [0xc424b8]
mov dword [esp], eax
call fcn.004022f0
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x70]
lea edx, [ecx + 0x58]
test byte [edx], al
movzx ebx, byte [ecx + 0x3a]
mov byte [esp + 0x16], bl
mov ebp, dword [ecx + 0x40]
mov dword [esp + 0x24], ebp
mov eax, dword [eax + 0xbc]
mov dword [esp + 0x48], eax
mov esi, dword [ecx + 0x58]
jmp 0x41d817
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x48]
mov ecx, edi
movzx ebx, byte [esp + 0x16]
mov eax, esi
mov esi, edx
mov edx, eax
mov eax, dword [esp + 0x48]
test esi, esi
je 0x41d922
movzx edi, word [esi + 4]
test ebp, ebp
je 0x41de90
mov dword [esp + 0x40], edx
mov eax, edi
xor edx, edx
div ebp
mov edx, eax
shr eax, 3
add eax, dword [ecx + 0x2c]
mov edi, edx
imul edx, ebp
and edi, 7
mov ecx, edi
mov ebx, 1
shl ebx, cl
movzx edi, byte [eax]
xchg edi, eax
test al, bl
xchg edi, eax
je 0x41d85b
mov edx, dword [esi]
jmp 0x41d7fe
add edx, ebp
mov ecx, esi
jmp 0x41d867
mov esi, dword [esi]
mov ebp, dword [esp + 0x24]
test esi, esi
je 0x41d91b
movzx ebp, word [esi + 4]
cmp ebp, edx
jae 0x41d914
movzx ebp, byte [esi + 6]
xchg ebp, eax
cmp al, 1
xchg ebp, eax
jne 0x41d861
or edi, ebx
xchg edi, ebx
mov byte [eax], bl
xchg edi, ebx
mov eax, 1
mov dword [esp + 0x2c], edx
mov byte [esp + 0x18], al
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x40]
jmp 0x41d8ab
mov esi, ecx
mov ecx, ebp
mov ebp, esi
test ecx, ecx
je 0x41d907
movzx esi, word [ecx + 4]
cmp esi, edx
jae 0x41d907
mov edi, dword [ebx + 0xc]
add esi, edi
movzx edi, byte [ecx + 6]
xchg edi, eax
cmp al, 1
xchg edi, eax
je 0x41d8cf
test al, al
je 0x41d8cf
mov ebp, dword [ecx]
jmp 0x41d8a5
mov dword [esp + 0x50], ebp
mov eax, dword [ecx]
mov dword [esp + 0x44], eax
mov dword [ebp], eax
mov dword [esp], ecx
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
call fcn.00421fd0
movzx eax, byte [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
jmp 0x41d8a5
mov edx, ecx
mov esi, ebp
mov ebp, dword [esp + 0x24]
jmp 0x41d7fe
xor eax, eax
jmp 0x41d893
xor eax, eax
jmp 0x41d893
mov edx, dword [0xc50d40]
test edx, edx
je 0x41da3d
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x54], edx
mov byte [esp + 0x58], 1
mov dword [esp + 0x5c], 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x60], edx
mov byte [esp + 0x64], 1
mov dword [esp + 0x68], 0
xor edx, edx
jmp 0x41d966
mov esi, dword [esp + 0x68]
inc esi
mov dword [esp + 0x68], esi
inc edx
mov esi, dword [ecx + 0x1c]
cmp edx, esi
jae 0x41da3d
mov esi, dword [esp + 0x54]
movzx edi, byte [esp + 0x58]
movzx esi, byte [esi]
xchg edi, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg edi, eax
je 0x41d9da
movzx esi, byte [esp + 0x58]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41d9d0
mov esi, dword [esp + 0x54]
inc esi
mov dword [esp + 0x54], esi
mov byte [esp + 0x58], 1
mov esi, dword [esp + 0x5c]
inc esi
mov dword [esp + 0x5c], esi
movzx esi, byte [esp + 0x64]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41d9c6
mov esi, dword [esp + 0x60]
inc esi
mov dword [esp + 0x60], esi
mov byte [esp + 0x64], 1
jmp 0x41d95c
shl esi, 1
xchg esi, eax
mov byte [esp + 0x64], al
xchg esi, eax
jmp 0x41d95c
shl esi, 1
xchg esi, eax
mov byte [esp + 0x58], al
xchg esi, eax
jmp 0x41d9a1
mov esi, dword [esp + 0x68]
mov edi, dword [ecx + 0x18]
cmp esi, edi
jae 0x41da22
mov esi, dword [ecx + 0x40]
imul esi, edx
add esi, dword [ecx + 0xc]
mov edi, dword [0xc50d40]
test edi, edi
je 0x41d987
mov dword [esp + 0x28], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.00424190
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
movzx ebx, byte [esp + 0x16]
mov ebp, dword [esp + 0x24]
jmp 0x41d987
mov esi, dword [esp + 0x60]
movzx edi, byte [esp + 0x64]
movzx esi, byte [esi]
xchg edi, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg edi, eax
jne 0x41d9e5
jmp 0x41d987
mov dword [esp], ecx
call fcn.00411dd0
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x16]
mov edx, ecx
shr cl, 1
test cl, cl
jne 0x41dcc6
test ax, ax
jne 0x41dcbb
mov ebx, dword [esp + 0x70]
mov byte [ebx + 0x3d], 1
mov ebp, 1
movzx esi, word [ebx + 0x38]
mov edi, esi
sub esi, eax
mov word [esp + 0x1c], si
cmp ax, di
ja 0x41dda6
mov byte [esp + 0x1a], cl
xchg ebp, eax
mov byte [esp + 0x19], al
xchg ebp, eax
mov word [ebx + 0x38], ax
mov dword [esp], ebx
call fcn.00410b30
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x34], edx
mov dword [ecx + 0x18], 0
movzx ebx, byte [0xc48868]
test bl, bl
je 0x41dae8
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x54]
movzx ebp, word [esp + 0x1c]
movzx esi, bp
mov edi, dword [ecx + 0x40]
imul edi, esi
add dword [ebx + 0x934], edi
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call fcn.004221a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x2c], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00410a90
movzx eax, byte [esp + 0x19]
test al, al
je 0x41dca8
mov ecx, dword [esp + 0x70]
movzx edx, byte [ecx + 0x3c]
mov byte [esp + 0x1b], dl
cmp dl, 1
jne 0x41dcf6
mov ebx, dword [ecx + 0x30]
mov ebp, dword [esp + 0x3c]
cmp ebp, ebx
jne 0x41dcf6
lea eax, [ecx + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00402390
movzx eax, word [esp + 0x1c]
test ax, ax
jbe 0x41dc9f
movzx ecx, byte [esp + 0x1a]
test cl, cl
je 0x41dc22
mov edx, dword [esp + 0x48]
test byte [edx], al
movsx ecx, cl
cmp ecx, 0x43
jae 0x41dcef
mov ebx, dword [edx + ecx*4 + 0x24c]
movzx eax, ax
add eax, ebx
mov dword [edx + ecx*4 + 0x24c], eax
movzx eax, byte [esp + 0x16]
movzx eax, al
cmp eax, 0x86
jae 0x41dce8
shl eax, 6
lea ecx, [0xc42730]
lea eax, [ecx + eax]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x74]
mov byte [esp + 8], cl
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
cmp ecx, edx
sete cl
mov byte [esp + 9], cl
call fcn.00413940
movzx eax, byte [esp + 0xc]
test al, al
je 0x41dbf2
mov byte [esp + 0x78], al
add esp, 0x6c
ret
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x20]
shr eax, 1
and eax, 1
lea eax, [eax + eax*4]
lea ecx, [0xc42488]
lea eax, [ecx + eax*4]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.0041e110
movzx eax, byte [esp + 0x17]
jmp 0x41dbea
movzx eax, byte [esp + 0x19]
test al, al
je 0x41dc98
mov eax, dword [0xc50d48]
test eax, eax
jle 0x41dc78
mov eax, dword [esp + 0x70]
mov dword [eax + 0x50], 0
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call fcn.00413fd0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x248]
inc ecx
mov dword [eax + 0x248], ecx
mov ecx, dword [esp + 0x24]
add dword [eax + 0x244], ecx
mov eax, 1
jmp 0x41dbe6
lea eax, [0xc41c60]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.00420970
jmp 0x41dc53
xor eax, eax
jmp 0x41dbe6
movzx eax, byte [esp + 0x19]
test al, al
jmp 0x41dc29
movzx ecx, word [esp + 0x1c]
test cx, cx
je 0x41db21
jmp 0x41db58
mov ebx, dword [esp + 0x70]
xor ebp, ebp
jmp 0x41da70
mov ebx, dword [esp + 0x70]
xor ebp, ebp
jmp 0x41da70
mov eax, dword [edx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.00447cb0
mov edx, dword [esp + 0x70]
jmp 0x41d7b3
call fcn.00428ae0
ud2
call fcn.00428ae0
ud2
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x3c], eax
call fcn.0042a7b0
lea eax, [0x85496f]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.0042b030
movzx eax, byte [esp + 0x1b]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042ad50
lea eax, [0x84ebb3]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0042b030
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042ad50
lea eax, [0x852617]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042b030
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042ad50
call fcn.0042a9c0
call fcn.0042a820
lea eax, [0x860c5d]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00429ef0
ud2
mov dword [esp + 0x30], eax
mov word [esp + 0x1e], di
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x38], eax
call fcn.0042a7b0
lea eax, [0x852f87]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042b030
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042ad50
lea eax, [0x84d6ca]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0042b030
mov eax, dword [esp + 0x30]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042ad50
lea eax, [0x855fbd]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.0042b030
movzx eax, word [esp + 0x1e]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042ad50
lea eax, [0x84d6da]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0042b030
movzx eax, word [esp + 0x1c]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042ad50
call fcn.0042a9c0
call fcn.0042a820
lea eax, [0x85d43f]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00429ef0
ud2
call fcn.00428ce0
ud2
mov eax, dword [edx + 0x30]
mov dword [esp + 0x3c], eax
call fcn.0042a7b0
lea eax, [0x85496f]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.0042b030
movzx eax, byte [esp + 0x1b]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042ad50
lea eax, [0x84ebb3]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0042b030
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042ad50
lea eax, [0x852617]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042b030
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042ad50
call fcn.0042a9c0
call fcn.0042a820
lea eax, [0x859f1e]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00429ef0
ud2
lea eax, [0x85a953]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00429ef0
ud2
call fcn.00451680
jmp fcn.0041d720