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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41e83d
sub esp, 0x74
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x78]
test edx, edx
jne 0x41de8f
mov edx, dword [ecx + 0x68]
test edx, edx
jne 0x41de8f
cmp dword [ecx], eax
jne 0x41e826
mov eax, dword [esp + 0x78]
test byte [eax], al
mov ecx, dword [0xf13b4c]
mov dword [esp + 0x20], ecx
lea edx, [eax + 0x3b]
mov dword [esp + 0x58], edx
mov dword [esp], edx
call fcn.00401f50
movzx eax, byte [esp + 4]
mov byte [esp + 0x17], al
cmp al, 1
jne 0x41e598
mov ecx, dword [esp + 0x20]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x78]
cmp dword [ebx + 0x30], edx
jne 0x41e778
mov dword [esp + 0x48], edx
movzx eax, byte [0xf180c8]
test al, al
jne 0x41e57b
mov eax, dword [ebx + 0x10]
lea ecx, [0xf13b70]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call fcn.004020d0
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + 0x3a]
mov byte [esp + 0x14], cl
mov edx, dword [eax + 0x40]
mov dword [esp + 0x28], edx
lea ebx, [eax + 0x4c]
mov ebp, dword [eax + 0x4c]
mov dword [esp + 0x24], ebp
mov esi, ebp
jmp 0x41df38
mov eax, edi
movzx ecx, byte [esp + 0x14]
mov esi, dword [esp + 0x24]
mov ebx, ebp
mov ebp, edx
mov edx, dword [esp + 0x28]
test ebp, ebp
je 0x41e03f
movzx edi, word [ebp + 4]
test edx, edx
je 0x41e773
mov dword [esp + 0x50], ebx
mov eax, edi
mov ebx, edx
xor edx, edx
div ebx
mov edx, eax
imul eax, ebx
nop
nop
mov edi, edx
shr edx, 3
and edi, 7
mov ecx, edi
mov esi, 1
shl esi, cl
nop
mov edi, dword [esp + 0x78]
add edx, dword [edi + 0x2c]
mov ecx, edx
movzx edx, byte [edx]
xchg esi, eax
test dl, al
xchg esi, eax
je 0x41df88
mov edx, dword [ebp]
jmp 0x41df25
add ebx, eax
mov eax, ebp
jmp 0x41df95
mov ebp, dword [ebp]
mov edi, dword [esp + 0x78]
test ebp, ebp
je 0x41e038
movzx edi, word [ebp + 4]
cmp ebx, edi
jbe 0x41e034
cmp byte [ebp + 6], 1
jne 0x41df8e
nop
or edx, esi
mov byte [ecx], dl
mov ecx, 1
mov dword [esp + 0x38], ebx
mov byte [esp + 0x15], cl
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x50]
jmp 0x41dfcf
mov esi, eax
mov eax, ebp
test eax, eax
je 0x41e025
movzx ebp, word [eax + 4]
cmp ebx, ebp
jbe 0x41e025
mov edi, dword [edx + 0xc]
add ebp, edi
cmp byte [eax + 6], 1
je 0x41dfee
test cl, cl
je 0x41dfee
mov ebp, dword [eax]
jmp 0x41dfcb
mov dword [esp + 0x54], esi
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
mov dword [esi], ecx
mov dword [esp], eax
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00422140
movzx ecx, byte [esp + 0x15]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
jmp 0x41dfcb
mov ebx, dword [esp + 0x28]
mov edi, edx
mov edx, eax
mov ebp, esi
jmp 0x41df25
xor ecx, ecx
jmp 0x41dfb9
xor ecx, ecx
jmp 0x41dfb9
test esi, esi
je 0x41e04e
mov ebx, dword [eax + 0x4c]
test ebx, ebx
je 0x41e561
mov ebx, dword [0xf2c064]
test ebx, ebx
je 0x41e54e
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x60], 1
mov dword [esp + 0x64], 0
mov ebx, dword [eax + 0x28]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x6c], 1
mov dword [esp + 0x70], 0
xor ebx, ebx
jmp 0x41e08d
inc dword [esp + 0x70]
inc ebx
cmp dword [eax + 0x1c], ebx
jbe 0x41e178
mov ebp, dword [esp + 0x5c]
movzx esi, byte [esp + 0x60]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
je 0x41e0f3
nop
movzx ebp, byte [esp + 0x60]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x41e0e9
inc dword [esp + 0x5c]
mov byte [esp + 0x60], 1
inc dword [esp + 0x64]
nop
movzx ebp, byte [esp + 0x6c]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x41e0df
inc dword [esp + 0x68]
mov byte [esp + 0x6c], 1
jmp 0x41e088
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x6c], al
xchg ebp, eax
jmp 0x41e088
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x60], al
xchg ebp, eax
jmp 0x41e0c3
mov ebp, dword [eax + 0x18]
cmp dword [esp + 0x70], ebp
jae 0x41e15c
mov ebp, dword [eax + 0x40]
imul ebp, ebx
add ebp, dword [eax + 0xc]
mov esi, dword [0xf2c064]
test esi, esi
jne 0x41e131
mov esi, dword [0xf2c024]
test esi, esi
je 0x41e0ad
xor esi, esi
jmp 0x41e128
mov dword [ebp + esi], 0xdeadbeef
add esi, 4
cmp edx, esi
ja 0x41e11d
jmp 0x41e0ad
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00427bb0
mov eax, dword [esp + 0x78]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x1c]
jmp 0x41e10f
mov ebp, dword [esp + 0x68]
movzx esi, byte [esp + 0x6c]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
jne 0x41e0fc
jmp 0x41e0ad
mov ebx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ebx
jbe 0x41e209
mov ebp, dword [eax + 0x2c]
mov esi, ebx
shr ebx, 3
movzx ebp, byte [ebx + ebp]
mov edi, dword [eax + 0x28]
movzx edi, byte [ebx + edi]
xchg edi, ebx
not ebx
xchg edi, ebx
and edi, ebp
and esi, 7
mov ebp, ecx
mov ecx, esi
xchg edi, eax
shr al, cl
xchg edi, eax
mov esi, 0xffffffff
xchg edi, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg edi, eax
jne 0x41e52c
lea ecx, [ebx + 1]
jmp 0x41e1c3
inc ecx
mov ebx, dword [eax + 0x1c]
add ebx, 7
shr ebx, 3
cmp ebx, ecx
jbe 0x41e209
mov ebx, dword [eax + 0x2c]
movzx ebx, byte [ecx + ebx]
mov esi, dword [eax + 0x28]
movzx esi, byte [ecx + esi]
xchg esi, ebx
not ebx
xchg esi, ebx
xchg esi, eax
test bl, al
xchg esi, eax
je 0x41e1c2
mov dword [esp + 0x30], ecx
mov dword [esp], eax
call fcn.0041e850
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
movzx ebp, byte [esp + 0x14]
jmp 0x41e1c2
mov dword [esp], eax
call fcn.0040f2c0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x78]
movzx edx, word [ecx + 0x38]
mov ebx, edx
sub edx, eax
mov word [esp + 0x18], dx
cmp ax, bx
ja 0x41e68f
mov word [ecx + 0x38], ax
mov dword [ecx + 0x18], 0
movzx ebx, byte [0xf180c8]
test bl, bl
je 0x41e269
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x54]
movzx ebp, dx
imul ebp, dword [ecx + 0x40]
add dword [ebx + 0xb48], ebp
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call fcn.00422300
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x2c], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0040e050
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00401f50
movzx eax, byte [esp + 4]
mov byte [esp + 0x17], al
cmp al, 1
jne 0x41e592
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x30]
mov ebx, dword [esp + 0x48]
cmp ebx, edx
jne 0x41e5e1
mov eax, dword [esp + 0x20]
lea ebx, [eax + 1]
cmp edx, ebx
je 0x41e5cb
lea ebx, [eax + 3]
cmp edx, ebx
je 0x41e5cb
lea edx, [ecx + 0x30]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00402170
movzx eax, byte [esp + 0x14]
mov ecx, eax
shr al, 1
test al, al
je 0x41e431
movzx edx, word [esp + 0x18]
test dx, dx
ja 0x41e3cd
movzx edx, byte [esp + 0x7c]
test dl, dl
je 0x41e323
mov byte [esp + 0x80], 0
add esp, 0x74
ret
mov edx, dword [esp + 0x40]
test dx, dx
je 0x41e3ab
movzx edx, dx
mov ebx, dword [esp + 0x78]
cmp dword [ebx + 0x1c], edx
jne 0x41e370
movzx eax, cl
cmp eax, 0x88
jae 0x41e5b5
shl eax, 7
lea ecx, [0xf13bf4]
lea eax, [eax + ecx + 0x34]
mov ecx, dword [esp + 0x20]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004287f0
jmp 0x41e317
movzx eax, cl
cmp eax, 0x88
jae 0x41e5ab
shl eax, 7
lea ecx, [0xf13bf4]
lea eax, [ecx + eax + 4]
mov ecx, dword [esp + 0x20]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004287f0
jmp 0x41e317
lea eax, [0xf13ac0]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.00421220
mov byte [esp + 0x80], 1
add esp, 0x74
ret
mov byte [esp + 0x16], al
mov eax, dword [esp + 0x78]
mov byte [eax + 0x3c], 1
lea ecx, [0xf2ed70]
mov dword [esp], ecx
call fcn.00429060
mov eax, dword [esp + 4]
test byte [eax], al
movzx ecx, byte [esp + 0x16]
movsx ecx, cl
cmp ecx, 0x44
jae 0x41e5bf
lea eax, [eax + ecx*4 + 0x150]
mov dword [esp], eax
movzx eax, word [esp + 0x18]
movzx eax, ax
mov dword [esp + 4], eax
call fcn.00402030
lea eax, [0xf2ed70]
mov dword [esp], eax
call fcn.00429180
movzx ecx, byte [esp + 0x14]
jmp 0x41e30e
movzx edx, byte [esp + 0x7c]
test dl, dl
jne 0x41e317
movzx edx, word [esp + 0x18]
test dx, dx
je 0x41e4ed
mov eax, dword [0xf2c028]
test eax, eax
jle 0x41e4d5
mov eax, dword [esp + 0x78]
mov dword [eax + 0x44], 0
mov eax, dword [eax + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00412050
lea eax, [0xf2ed70]
mov dword [esp], eax
call fcn.00429060
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
test byte [eax], al
lea ecx, [eax + 0x14c]
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00402030
mov eax, dword [esp + 0x4c]
add eax, 0x148
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00402030
lea eax, [0xf2ed70]
mov dword [esp], eax
call fcn.00429180
mov byte [esp + 0x80], 1
add esp, 0x74
ret
lea eax, [0xf13ac0]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.00421220
jmp 0x41e474
movzx eax, cl
cmp eax, 0x88
jae 0x41e5a1
shl eax, 7
lea ecx, [0xf13bf4]
lea eax, [eax + ecx + 0x34]
mov ecx, dword [esp + 0x20]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.004287f0
jmp 0x41e317
mov dword [esp + 0x2c], ebx
mov dword [esp], eax
call fcn.0041e850
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
movzx ebp, byte [esp + 0x14]
jmp 0x41e1bd
mov ebx, dword [0xf2c024]
test ebx, ebx
jne 0x41e05c
jmp 0x41e178
mov dword [esp], eax
call fcn.00421ac0
mov eax, dword [esp + 0x78]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x28]
jmp 0x41e04e
mov eax, dword [ebx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.0044aea0
mov ebx, dword [esp + 0x78]
jmp 0x41dee7
mov ecx, dword [esp + 0x78]
jmp 0x41e5e1
mov ebx, dword [esp + 0x78]
jmp 0x41e778
mov ecx, 0x88
call fcn.004580d0
mov ecx, 0x88
call fcn.004580d0
mov ecx, 0x88
call fcn.004580d0
mov eax, ecx
mov ecx, 0x44
call fcn.004580d0
lea eax, [0x4a7fad]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042f490
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x48], eax
call fcn.00430920
lea eax, [0x4a872b]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00431220
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
movzx eax, al
mov dword [esp], eax
call fcn.00430ec0
lea eax, [0x4a6656]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00431220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00430ec0
lea eax, [0x4a78c0]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00431220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00430ec0
call fcn.00430b40
call fcn.00430990
lea eax, [0x4ac8a0]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.0042f490
mov word [esp + 0x1a], bx
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x3c], eax
call fcn.00430920
lea eax, [0x4a7c60]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00431220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00430ec0
lea eax, [0x4a612a]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00431220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x40]
movzx eax, ax
mov dword [esp], eax
call fcn.00430ec0
lea eax, [0x4a8d2f]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00431220
mov dword [esp + 4], 0
movzx eax, word [esp + 0x1a]
movzx eax, ax
mov dword [esp], eax
call fcn.00430ec0
lea eax, [0x4a613a]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00431220
mov dword [esp + 4], 0
movzx eax, word [esp + 0x18]
movzx eax, ax
mov dword [esp], eax
call fcn.00430ec0
call fcn.00430b40
call fcn.00430990
lea eax, [0x4abb9d]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.0042f490
call fcn.0042d6b0
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x48], eax
call fcn.00430920
lea eax, [0x4a872b]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00431220
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
movzx eax, al
mov dword [esp], eax
call fcn.00430ec0
lea eax, [0x4a6656]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00431220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00430ec0
lea eax, [0x4a78c0]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00431220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00430ec0
call fcn.00430b40
call fcn.00430990
lea eax, [0x4aa92e]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0042f490
lea eax, [0x4aad97]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0042f490
nop
call fcn.00456af0
jmp fcn.0041de50