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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x7c]
cmp eax, dword [ecx + 8]
jbe 0x41d124
sub esp, 0xfc
xor eax, eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov edx, dword [esp + 0x100]
mov ebx, dword fs:[0x14]
mov eax, dword [ebx]
mov dword [esp + 0x74], eax
mov ebp, dword [eax + 0x18]
mov ebx, dword [ebp + 0x70]
cmp ebx, 0
jne 0x41c5b0
mov ebp, dword [eax + 0x18]
mov ebx, dword [ebp + 0x60]
cmp ebx, 0
jne 0x41c5b0
mov ebp, dword [eax + 0x18]
mov ecx, dword [ebp]
cmp ecx, eax
je 0x41c5b0
mov ebx, 0x5f5754
mov dword [esp], ebx
mov dword [esp + 4], 0x1c
call fcn.004298b0
mov edx, dword [esp + 0x100]
mov esi, dword [0x6c22a0]
mov dword [esp + 0x28], esi
movzx ebp, byte [edx + 0x3c]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41d05d
mov ebp, dword [edx + 0x30]
mov ebx, esi
dec ebx
cmp ebp, ebx
jne 0x41d05d
movzx ebx, byte [0x6c7b68]
cmp bl, 0
je 0x41c5ef
call fcn.004447e0
mov edx, dword [esp + 0x100]
mov ebx, 0x6c1a80
mov dword [esp], ebx
add dword [esp], 0x840
mov ebp, dword [edx + 0x10]
xor ecx, ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.004d4c40
mov ebx, dword [esp + 0x100]
movzx ebp, byte [ebx + 0x3a]
xchg ebp, eax
mov byte [esp + 0x1b], al
xchg ebp, eax
mov ebx, dword [esp + 0x100]
mov ebp, dword [ebx + 0x40]
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x18], 0
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x18]
mov ebx, dword [ebp + 0xb0]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x1a], 0
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x58], ebx
cmp dword [esp + 0x58], 0
je 0x41d052
add dword [esp + 0x58], 0x58
mov ebx, dword [esp + 0x58]
mov edi, dword [ebx]
xor ebp, ebp
cmp edi, ebp
je 0x41c8e2
movzx esi, word [edi + 4]
mov ebp, esi
mov dword [esp + 0x50], eax
mov esi, edx
mov eax, ebp
mov ebp, dword [esp + 0x2c]
xor edx, edx
div ebp
mov ecx, eax
mov edx, esi
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x100]
mov ebp, dword [ebx + 0xc]
mov ebx, ecx
imul ebx, dword [esp + 0x2c]
add ebp, ebx
mov dword [esp + 0x30], ebp
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x60], ebx
mov ebp, ecx
xor ebx, ebx
mov ebx, ecx
shr ebx, 3
mov dword [esp + 0x24], ebx
mov esi, ecx
and ebp, 7
mov ecx, ebp
mov ebx, 1
shl ebx, cl
mov byte [esp + 0x1c], bl
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x2c]
mov dword [esp + 0x64], ebp
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x64]
add ebx, ecx
xor ebp, ebp
mov dword [esp + 0xe4], ebx
movzx ebp, byte [esp + 0x1c]
mov ecx, esi
mov esi, dword [esp + 0xe4]
xchg ebp, eax
mov byte [esp + 0xe8], al
xchg ebp, eax
mov dword [esp + 0xec], ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0x9c], esi
xchg ebp, eax
mov byte [esp + 0x88], al
xchg ebp, eax
xchg ebp, eax
mov byte [esp + 0xa0], al
xchg ebp, eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xa4], ecx
mov ebp, dword [esp + 0x9c]
movzx ebx, byte [esp + 0xa0]
mov ecx, ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc0], ebp
movzx ebp, byte [ebp]
mov byte [esp + 0xc4], cl
and ebp, ecx
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41d048
xor ecx, ecx
cmp cl, 0
jne 0x41c8c3
mov byte [esp + 0x19], 0
mov ebx, dword [esp + 0x100]
mov ebx, dword [ebx + 0xc]
mov ebp, dword [esp + 0x30]
sub ebp, ebx
mov ebx, ebp
add ebx, dword [esp + 0x2c]
mov dword [esp + 0x40], ebx
mov ecx, edi
xor ebp, ebp
cmp ecx, ebp
je 0x41c808
movzx ebp, word [ecx + 4]
mov ebx, dword [esp + 0x40]
cmp ebp, ebx
jae 0x41c808
movzx ebp, byte [ecx + 6]
xchg ebp, eax
cmp al, 1
xchg ebp, eax
jne 0x41c8bc
mov ecx, dword [esp + 0x9c]
movzx ebx, byte [esp + 0xa0]
mov byte [esp + 0xb8], bl
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb4], ecx
movzx ebp, byte [ecx]
movzx ebx, byte [esp + 0xb8]
or ebx, ebp
mov byte [ecx], bl
mov byte [esp + 0x19], 1
xor ebp, ebp
cmp edi, ebp
je 0x41c66b
movzx ebp, word [edi + 4]
mov ebx, dword [esp + 0x40]
cmp ebp, ebx
jae 0x41c66b
mov ebx, dword [esp + 0x100]
mov esi, dword [ebx + 0xc]
movzx ebp, word [edi + 4]
mov ebx, ebp
mov ebp, esi
add ebp, ebx
mov dword [esp + 0x34], ebp
movzx ebp, byte [edi + 6]
xchg ebp, eax
cmp al, 1
xchg ebp, eax
je 0x41c867
cmp byte [esp + 0x19], 0
je 0x41c867
mov dword [esp + 0x58], edi
cmp dword [esp + 0x58], 0
je 0x41c85f
mov ebx, dword [esp + 0x58]
mov edi, dword [ebx]
jmp 0x41c808
mov dword [0], eax
jmp 0x41c857
mov dword [esp + 0x54], edi
mov ebp, dword [edi]
mov dword [esp + 0x5c], ebp
mov ebx, dword [esp + 0x58]
cmp ebx, 0
je 0x41c8b8
cmp byte [0x6cfdd8], 0
jne 0x41c8aa
mov dword [ebx], ebp
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
call fcn.00421800
mov edi, dword [esp + 0x5c]
jmp 0x41c808
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040e740
jmp 0x41c885
mov dword [ebx], eax
jmp 0x41c87a
mov ecx, dword [ecx]
jmp 0x41c7a8
mov dword [esp + 0x58], edi
cmp dword [esp + 0x58], 0
je 0x41d03d
mov ebx, dword [esp + 0x58]
mov edi, dword [ebx]
xor ebp, ebp
cmp edi, ebp
jne 0x41c675
mov ebx, dword [0x6cff00]
cmp ebx, 0
jne 0x41cdbe
mov ebx, dword [esp + 0x100]
mov dword [esp], ebx
call fcn.0040fe40
mov eax, dword [esp + 0x100]
mov esi, dword [esp + 4]
movzx ebx, byte [esp + 0x1b]
cmp bl, 0
jne 0x41c927
cmp esi, 0
je 0x41c927
mov ecx, 1
mov byte [eax + 0x3d], cl
mov byte [esp + 0x1a], 1
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x38], esi
sub ecx, esi
movzx ebp, word [eax + 0x38]
mov ebx, ebp
sub ebx, ecx
mov word [esp + 0x1e], bx
movzx ebp, word [eax + 0x38]
mov word [esp + 0x20], cx
cmp bp, cx
jae 0x41ca64
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x44], ebp
movzx ebp, word [eax + 0x38]
mov word [esp + 0x22], bp
call fcn.0042a090
mov ebx, 0x5f190a
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.0042aaa0
mov ebx, dword [esp + 0x44]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042a8b0
mov ebx, 0x5eefd5
mov dword [esp], ebx
mov dword [esp + 4], 7
call fcn.0042aaa0
mov eax, dword [esp + 0x38]
cdq
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0042a8b0
mov ebx, 0x5ef2d7
mov dword [esp], ebx
mov dword [esp + 4], 8
call fcn.0042aaa0
movzx ebx, word [esp + 0x20]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042a8b0
mov ebx, 0x5f2efc
mov dword [esp], ebx
mov dword [esp + 4], 0x15
call fcn.0042aaa0
movzx ebx, word [esp + 0x22]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042a8b0
mov ebx, 0x5ef2e7
mov dword [esp], ebx
mov dword [esp + 4], 8
call fcn.0042aaa0
movzx ebx, word [esp + 0x1e]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042a8b0
mov ebx, 0x5ee526
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042aaa0
call fcn.0042a110
mov ebx, 0x5f6ed7
mov dword [esp], ebx
mov dword [esp + 4], 0x20
call fcn.004298b0
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 0x100]
mov word [eax + 0x38], cx
mov dword [esp], eax
call fcn.0040eda0
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 4]
mov ebp, dword [eax + 0x1c]
cmp ebp, edx
je 0x41cdb4
mov byte [esp + 0x17], 0
xor ecx, ecx
mov dword [eax + 0x18], ecx
mov ebp, dword [eax + 0x2c]
cmp byte [0x6cfdd8], 0
jne 0x41cd99
mov dword [eax + 0x28], ebp
mov ebp, dword [eax + 0x1c]
mov dword [esp], ebp
call fcn.00421a20
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x100]
cmp ebx, 0
je 0x41cd92
cmp byte [0x6cfdd8], 0
jne 0x41cd7e
mov dword [ebx + 0x2c], eax
mov ebx, dword [esp + 0x100]
mov dword [esp], ebx
mov dword [esp + 4], 0
call fcn.0040ecd0
movzx edi, word [esp + 0x1e]
movzx edx, byte [esp + 0x1b]
mov eax, dword [esp + 0x100]
cmp byte [esp + 0x1a], 0
jne 0x41cc68
cmp di, 0
je 0x41cc68
cmp di, 0
jbe 0x41cbf4
cmp dl, 0
je 0x41cbf4
mov ebx, dword [esp + 0x70]
cmp ebx, 0
je 0x41cbed
movzx ebp, dl
lea esi, [ebx + 0x144]
cmp ebp, 0x43
jae 0x41cbe6
shl ebp, 2
add esi, ebp
mov ecx, dword [esi]
movzx ebx, di
add ebx, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x70]
cmp ebx, 0
je 0x41cbdf
movzx ebp, dl
lea esi, [ebx + 0x144]
cmp ebp, 0x43
jae 0x41cbd8
shl ebp, 2
add esi, ebp
mov dword [esi], ecx
movzx ebx, dl
mov ebp, 0x6c2510
cmp ebx, 0x43
jae 0x41cbd1
imul ebx, ebx, 0x58
add ebp, ebx
mov dword [esp], ebp
mov dword [esp + 4], eax
movzx ebx, byte [esp + 0x104]
mov byte [esp + 8], bl
movzx ebx, byte [esp + 0x17]
mov byte [esp + 9], bl
call fcn.00412200
movzx ebx, byte [esp + 0xc]
mov byte [esp + 0x18], bl
movzx ebx, byte [0x6c7b68]
cmp bl, 0
je 0x41cbbe
call fcn.00444820
movzx ebx, byte [esp + 0x18]
mov byte [esp + 0x108], bl
add esp, 0xfc
ret
call fcn.00427bf0
ud2
call fcn.00427bf0
ud2
mov dword [ebx], eax
jmp 0x41cb5c
call fcn.00427bf0
ud2
mov dword [ebx], eax
jmp 0x41cb2f
cmp byte [esp + 0x1a], 0
je 0x41cbad
mov ebx, dword [0x6cff08]
cmp ebx, 0
jle 0x41cc49
xor ecx, ecx
mov dword [eax + 0x50], ecx
mov ebp, dword [eax + 0xc]
mov dword [esp], ebp
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
call fcn.00412960
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 0x140]
inc eax
mov dword [ecx + 0x140], eax
mov eax, dword [ecx + 0x13c]
add eax, dword [esp + 0x2c]
mov dword [ecx + 0x13c], eax
mov byte [esp + 0x18], 1
jmp 0x41cbad
mov ebx, 0x6c1a80
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.0041fb30
mov ecx, dword [esp + 0x70]
jmp 0x41cc22
movzx ebp, byte [eax + 0x3c]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41ccb7
mov ebp, dword [eax + 0x30]
mov ebx, dword [esp + 0x28]
dec ebx
cmp ebp, ebx
jne 0x41ccb7
mov dword [esp], eax
cmp dword [esp], 0
je 0x41ccaf
add dword [esp], 0x30
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], ebx
call fcn.004d4e30
movzx edi, word [esp + 0x1e]
movzx edx, byte [esp + 0x1b]
mov eax, dword [esp + 0x100]
jmp 0x41cb0f
mov dword [0], eax
jmp 0x41cc88
movzx ebp, byte [eax + 0x3c]
xchg ebp, eax
mov byte [esp + 0x1d], al
xchg ebp, eax
mov ebp, dword [eax + 0x30]
mov dword [esp + 0x4c], ebp
call fcn.0042a090
mov ebx, 0x5f249a
mov dword [esp], ebx
mov dword [esp + 4], 0x13
call fcn.0042aaa0
movzx ebx, byte [esp + 0x1d]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042a8b0
mov ebx, 0x5efa57
mov dword [esp], ebx
mov dword [esp + 4], 0xa
call fcn.0042aaa0
mov ebx, dword [esp + 0x4c]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042a8b0
mov ebx, 0x5f141a
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.0042aaa0
mov ebx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042a8b0
mov ebx, 0x5ee526
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042aaa0
call fcn.0042a110
mov ebx, 0x5f867a
mov dword [esp], ebx
mov dword [esp + 4], 0x27
call fcn.004298b0
mov eax, dword [esp + 0x100]
jmp 0x41cc7f
lea esi, [ebx + 0x2c]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040e740
jmp 0x41cad2
mov dword [ebx], eax
jmp 0x41cac2
lea esi, [eax + 0x28]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040e740
mov eax, dword [esp + 0x100]
jmp 0x41caa3
mov byte [esp + 0x17], 1
jmp 0x41ca8b
mov ecx, dword [esp + 0x100]
xor ebx, ebx
xor ebx, ebx
mov ebp, dword [ecx + 0x2c]
mov ecx, 1
xor eax, eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0xa8], ebp
mov byte [esp + 0x94], cl
mov byte [esp + 0xac], cl
mov dword [esp + 0x98], eax
mov dword [esp + 0xb0], eax
mov edx, dword [esp + 0x100]
xor eax, eax
xor ebx, ebx
mov ecx, eax
shr ecx, 3
mov esi, eax
and esi, 7
mov edx, dword [edx + 0x28]
add edx, ecx
xor ebx, ebx
mov ebx, 1
mov ecx, esi
cmp esi, 8
jae 0x41d036
shl ebx, cl
mov dword [esp + 0xe4], edx
mov byte [esp + 0xe8], bl
mov dword [esp + 0xec], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0xf0], edx
mov byte [esp + 0x7c], bl
mov byte [esp + 0xf4], bl
mov dword [esp + 0x80], eax
mov dword [esp + 0xf8], eax
xor edx, edx
mov ebx, dword [esp + 0x100]
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x3c], edx
cmp ebp, edx
jbe 0x41c8f1
mov eax, dword [esp + 0xa8]
movzx ebx, byte [esp + 0xac]
mov ecx, ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xd8], eax
movzx ebp, byte [eax]
mov byte [esp + 0xdc], cl
and ebp, ecx
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41d02c
xor eax, eax
cmp al, 0
jne 0x41cf21
mov ecx, dword [esp + 0xf8]
mov ebx, dword [esp + 0x100]
mov ebp, dword [ebx + 0x18]
cmp ecx, ebp
jb 0x41cfe1
mov eax, dword [esp + 0xf0]
movzx ebx, byte [esp + 0xf4]
mov ecx, ebx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xcc], eax
movzx ebp, byte [eax]
mov byte [esp + 0xd0], cl
and ebp, ecx
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41d022
xor eax, eax
cmp al, 0
jne 0x41cfe1
lea ebx, [esp + 0xa8]
mov eax, ebx
movzx ebp, byte [ebx + 4]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x41cfd1
mov ecx, dword [eax]
inc ecx
mov dword [esp + 0x6c], eax
cmp byte [0x6cfdd8], 0
jne 0x41cfb8
mov dword [eax], ecx
mov ecx, 1
mov byte [eax + 4], cl
mov ecx, dword [eax + 8]
inc ecx
mov dword [eax + 8], ecx
lea ebx, [esp + 0xf0]
mov eax, ebx
movzx ebp, byte [ebx + 4]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x41cfab
mov ecx, dword [eax]
inc ecx
mov dword [esp + 0x68], eax
cmp byte [0x6cfdd8], 0
jne 0x41cf95
mov dword [eax], ecx
mov ecx, 1
mov byte [eax + 4], cl
mov ecx, dword [eax + 8]
inc ecx
mov dword [eax + 8], ecx
inc edx
jmp 0x41ce66
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040e740
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
jmp 0x41cf80
movzx ebp, byte [ebx + 4]
mov ebx, ebp
shl ebx, 1
mov byte [eax + 4], bl
jmp 0x41cf88
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040e740
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
jmp 0x41cf4b
movzx ebp, byte [ebx + 4]
mov ebx, ebp
shl ebx, 1
mov byte [eax + 4], bl
jmp 0x41cf53
mov ebx, dword [esp + 0x100]
mov ebp, dword [ebx + 0xc]
mov ebx, dword [esp + 0x100]
mov ebx, dword [ebx + 0x40]
imul ebx, edx
add ebp, ebx
mov ebx, dword [0x6cff00]
cmp ebx, 0
je 0x41cf21
mov dword [esp], ebp
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
call fcn.00422d00
mov edx, dword [esp + 0x3c]
jmp 0x41cf21
mov eax, 1
jmp 0x41cf18
mov eax, 1
jmp 0x41cebb
xor ebx, ebx
jmp 0x41ce29
mov dword [0], eax
jmp 0x41c8d2
mov ecx, 1
jmp 0x41c77e
mov dword [0], eax
jmp 0x41c660
movzx ebp, byte [edx + 0x3c]
xchg ebp, eax
mov byte [esp + 0x1d], al
xchg ebp, eax
mov ebp, dword [edx + 0x30]
mov dword [esp + 0x48], ebp
call fcn.0042a090
mov ebx, 0x5f249a
mov dword [esp], ebx
mov dword [esp + 4], 0x13
call fcn.0042aaa0
movzx ebx, byte [esp + 0x1d]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042a8b0
mov ebx, 0x5efa57
mov dword [esp], ebx
mov dword [esp + 4], 0xa
call fcn.0042aaa0
mov ebx, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042a8b0
mov ebx, 0x5f141a
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.0042aaa0
mov ebx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042a8b0
mov ebx, 0x5ee526
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042aaa0
call fcn.0042a110
mov ebx, 0x5f5203
mov dword [esp], ebx
mov dword [esp + 4], 0x1b
call fcn.004298b0
mov edx, dword [esp + 0x100]
jmp 0x41c5d7
call fcn.004501c0
jmp fcn.0041c510