Function at 0x41cfa0
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 0x41dbb4
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 0x41d040
mov ebp, dword [eax + 0x18]
mov ebx, dword [ebp + 0x60]
cmp ebx, 0
jne 0x41d040
mov ebp, dword [eax + 0x18]
mov ecx, dword [ebp]
cmp ecx, eax
je 0x41d040
mov ebx, 0x5fca0d
mov dword [esp], ebx
mov dword [esp + 4], 0x1c
call fcn.0042a340
mov edx, dword [esp + 0x100]
mov esi, dword [0x6cc300]
mov dword [esp + 0x28], esi
movzx ebp, byte [edx + 0x3c]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41daed
mov ebp, dword [edx + 0x30]
mov ebx, esi
dec ebx
cmp ebp, ebx
jne 0x41daed
movzx ebx, byte [0x6d1bc8]
cmp bl, 0
je 0x41d07f
call fcn.004453d0
mov edx, dword [esp + 0x100]
mov ebx, 0x6cbae0
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.004cfbf0
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 0x41dae2
add dword [esp + 0x58], 0x58
mov ebx, dword [esp + 0x58]
mov edi, dword [ebx]
xor ebp, ebp
cmp edi, ebp
je 0x41d372
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 0x41dad8
xor ecx, ecx
cmp cl, 0
jne 0x41d353
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 0x41d298
movzx ebp, word [ecx + 4]
mov ebx, dword [esp + 0x40]
cmp ebp, ebx
jae 0x41d298
movzx ebp, byte [ecx + 6]
xchg ebp, eax
cmp al, 1
xchg ebp, eax
jne 0x41d34c
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 0x41d0fb
movzx ebp, word [edi + 4]
mov ebx, dword [esp + 0x40]
cmp ebp, ebx
jae 0x41d0fb
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 0x41d2f7
cmp byte [esp + 0x19], 0
je 0x41d2f7
mov dword [esp + 0x58], edi
cmp dword [esp + 0x58], 0
je 0x41d2ef
mov ebx, dword [esp + 0x58]
mov edi, dword [ebx]
jmp 0x41d298
mov dword [0], eax
jmp 0x41d2e7
mov dword [esp + 0x54], edi
mov ebp, dword [edi]
mov dword [esp + 0x5c], ebp
mov ebx, dword [esp + 0x58]
cmp ebx, 0
je 0x41d348
cmp byte [0x6d9e38], 0
jne 0x41d33a
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.00422290
mov edi, dword [esp + 0x5c]
jmp 0x41d298
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f1d0
jmp 0x41d315
mov dword [ebx], eax
jmp 0x41d30a
mov ecx, dword [ecx]
jmp 0x41d238
mov dword [esp + 0x58], edi
cmp dword [esp + 0x58], 0
je 0x41dacd
mov ebx, dword [esp + 0x58]
mov edi, dword [ebx]
xor ebp, ebp
cmp edi, ebp
jne 0x41d105
mov ebx, dword [0x6d9f60]
cmp ebx, 0
jne 0x41d84e
mov ebx, dword [esp + 0x100]
mov dword [esp], ebx
call fcn.004108d0
mov eax, dword [esp + 0x100]
mov esi, dword [esp + 4]
movzx ebx, byte [esp + 0x1b]
cmp bl, 0
jne 0x41d3b7
cmp esi, 0
je 0x41d3b7
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 0x41d4f4
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x44], ebp
movzx ebp, word [eax + 0x38]
mov word [esp + 0x22], bp
call fcn.0042ab20
mov ebx, 0x5f8b33
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.0042b530
mov ebx, dword [esp + 0x44]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042b340
mov ebx, 0x5f61d3
mov dword [esp], ebx
mov dword [esp + 4], 7
call fcn.0042b530
mov eax, dword [esp + 0x38]
cdq
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0042b340
mov ebx, 0x5f64d5
mov dword [esp], ebx
mov dword [esp + 4], 8
call fcn.0042b530
movzx ebx, word [esp + 0x20]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042b340
mov ebx, 0x5fa138
mov dword [esp], ebx
mov dword [esp + 4], 0x15
call fcn.0042b530
movzx ebx, word [esp + 0x22]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042b340
mov ebx, 0x5f64e5
mov dword [esp], ebx
mov dword [esp + 4], 8
call fcn.0042b530
movzx ebx, word [esp + 0x1e]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042b340
mov ebx, 0x5f5706
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042b530
call fcn.0042aba0
mov ebx, 0x5fe190
mov dword [esp], ebx
mov dword [esp + 4], 0x20
call fcn.0042a340
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 0x100]
mov word [eax + 0x38], cx
mov dword [esp], eax
call fcn.0040f830
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 4]
mov ebp, dword [eax + 0x1c]
cmp ebp, edx
je 0x41d844
mov byte [esp + 0x17], 0
xor ecx, ecx
mov dword [eax + 0x18], ecx
mov ebp, dword [eax + 0x2c]
cmp byte [0x6d9e38], 0
jne 0x41d829
mov dword [eax + 0x28], ebp
mov ebp, dword [eax + 0x1c]
mov dword [esp], ebp
call fcn.004224b0
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x100]
cmp ebx, 0
je 0x41d822
cmp byte [0x6d9e38], 0
jne 0x41d80e
mov dword [ebx + 0x2c], eax
mov ebx, dword [esp + 0x100]
mov dword [esp], ebx
mov dword [esp + 4], 0
call fcn.0040f760
movzx edi, word [esp + 0x1e]
movzx edx, byte [esp + 0x1b]
mov eax, dword [esp + 0x100]
cmp byte [esp + 0x1a], 0
jne 0x41d6f8
cmp di, 0
je 0x41d6f8
cmp di, 0
jbe 0x41d684
cmp dl, 0
je 0x41d684
mov ebx, dword [esp + 0x70]
cmp ebx, 0
je 0x41d67d
movzx ebp, dl
lea esi, [ebx + 0x144]
cmp ebp, 0x43
jae 0x41d676
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 0x41d66f
movzx ebp, dl
lea esi, [ebx + 0x144]
cmp ebp, 0x43
jae 0x41d668
shl ebp, 2
add esi, ebp
mov dword [esi], ecx
movzx ebx, dl
mov ebp, 0x6cc570
cmp ebx, 0x43
jae 0x41d661
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.00412c90
movzx ebx, byte [esp + 0xc]
mov byte [esp + 0x18], bl
movzx ebx, byte [0x6d1bc8]
cmp bl, 0
je 0x41d64e
call fcn.00445410
movzx ebx, byte [esp + 0x18]
mov byte [esp + 0x108], bl
add esp, 0xfc
ret
call fcn.00428680
ud2
call fcn.00428680
ud2
mov dword [ebx], eax
jmp 0x41d5ec
call fcn.00428680
ud2
mov dword [ebx], eax
jmp 0x41d5bf
cmp byte [esp + 0x1a], 0
je 0x41d63d
mov ebx, dword [0x6d9f68]
cmp ebx, 0
jle 0x41d6d9
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.004133f0
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 0x41d63d
mov ebx, 0x6cbae0
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.004205c0
mov ecx, dword [esp + 0x70]
jmp 0x41d6b2
movzx ebp, byte [eax + 0x3c]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41d747
mov ebp, dword [eax + 0x30]
mov ebx, dword [esp + 0x28]
dec ebx
cmp ebp, ebx
jne 0x41d747
mov dword [esp], eax
cmp dword [esp], 0
je 0x41d73f
add dword [esp], 0x30
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], ebx
call fcn.004cfde0
movzx edi, word [esp + 0x1e]
movzx edx, byte [esp + 0x1b]
mov eax, dword [esp + 0x100]
jmp 0x41d59f
mov dword [0], eax
jmp 0x41d718
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.0042ab20
mov ebx, 0x5f96c3
mov dword [esp], ebx
mov dword [esp + 4], 0x13
call fcn.0042b530
movzx ebx, byte [esp + 0x1d]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042b340
mov ebx, 0x5f6c8a
mov dword [esp], ebx
mov dword [esp + 4], 0xa
call fcn.0042b530
mov ebx, dword [esp + 0x4c]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042b340
mov ebx, 0x5f8643
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.0042b530
mov ebx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042b340
mov ebx, 0x5f5706
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042b530
call fcn.0042aba0
mov ebx, 0x5ff933
mov dword [esp], ebx
mov dword [esp + 4], 0x27
call fcn.0042a340
mov eax, dword [esp + 0x100]
jmp 0x41d70f
lea esi, [ebx + 0x2c]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f1d0
jmp 0x41d562
mov dword [ebx], eax
jmp 0x41d552
lea esi, [eax + 0x28]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040f1d0
mov eax, dword [esp + 0x100]
jmp 0x41d533
mov byte [esp + 0x17], 1
jmp 0x41d51b
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 0x41dac6
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 0x41d381
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 0x41dabc
xor eax, eax
cmp al, 0
jne 0x41d9b1
mov ecx, dword [esp + 0xf8]
mov ebx, dword [esp + 0x100]
mov ebp, dword [ebx + 0x18]
cmp ecx, ebp
jb 0x41da71
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 0x41dab2
xor eax, eax
cmp al, 0
jne 0x41da71
lea ebx, [esp + 0xa8]
mov eax, ebx
movzx ebp, byte [ebx + 4]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x41da61
mov ecx, dword [eax]
inc ecx
mov dword [esp + 0x6c], eax
cmp byte [0x6d9e38], 0
jne 0x41da48
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 0x41da3b
mov ecx, dword [eax]
inc ecx
mov dword [esp + 0x68], eax
cmp byte [0x6d9e38], 0
jne 0x41da25
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 0x41d8f6
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040f1d0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
jmp 0x41da10
movzx ebp, byte [ebx + 4]
mov ebx, ebp
shl ebx, 1
mov byte [eax + 4], bl
jmp 0x41da18
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040f1d0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
jmp 0x41d9db
movzx ebp, byte [ebx + 4]
mov ebx, ebp
shl ebx, 1
mov byte [eax + 4], bl
jmp 0x41d9e3
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 [0x6d9f60]
cmp ebx, 0
je 0x41d9b1
mov dword [esp], ebp
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
call fcn.00423790
mov edx, dword [esp + 0x3c]
jmp 0x41d9b1
mov eax, 1
jmp 0x41d9a8
mov eax, 1
jmp 0x41d94b
xor ebx, ebx
jmp 0x41d8b9
mov dword [0], eax
jmp 0x41d362
mov ecx, 1
jmp 0x41d20e
mov dword [0], eax
jmp 0x41d0f0
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.0042ab20
mov ebx, 0x5f96c3
mov dword [esp], ebx
mov dword [esp + 4], 0x13
call fcn.0042b530
movzx ebx, byte [esp + 0x1d]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042b340
mov ebx, 0x5f6c8a
mov dword [esp], ebx
mov dword [esp + 4], 0xa
call fcn.0042b530
mov ebx, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042b340
mov ebx, 0x5f8643
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.0042b530
mov ebx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0042b340
mov ebx, 0x5f5706
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042b530
call fcn.0042aba0
mov ebx, 0x5fc486
mov dword [esp], ebx
mov dword [esp + 4], 0x1b
call fcn.0042a340
mov edx, dword [esp + 0x100]
jmp 0x41d067
call fcn.00450db0
jmp fcn.0041cfa0