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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x5c], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
test eax, eax
je 0x41f91a
mov dword [esp], eax
call fcn.00565f80
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
test eax, eax
je 0x41f92d
mov dword [esp], eax
call fcn.00565f80
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0xc0]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
lea ebx, [esi + esi + 1]
mov dword [edi + 0xc], eax
imul eax, ebx
shl ebx, 2
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [edi], eax
mov dword [esp], ebx
mov dword [esp + 0x58], eax
call sub.msvcrt.dll_malloc
mov ecx, dword [esp + 0xc0]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc0]
neg eax
mov dword [esp + 0x50], eax
test ecx, ecx
jle 0x4202cf
mov edx, dword [esp + 0x1c]
test edx, edx
jle 0x41fdb9
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xc4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
lea esi, [esi]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov eax, edi
mov edi, dword [esp + 0x30]
mov byte [esi], al
test edi, edi
je 0x41f9ed
mov ebx, dword [esp + 0xc4]
mov esi, dword [esp + 0x54]
cmp esi, dword [ebx + 0x14]
jge 0x41f9ed
cmp byte [edi + esi], al
je 0x4202bb
mov eax, dword [esp + 0xc4]
mov edi, dword [esp + 0xc4]
mov edx, dword [esp + 0x44]
imul edx, dword [eax + 4]
mov ecx, dword [eax]
mov esi, dword [edi + 0xc]
movzx eax, byte [ecx + edx + 2]
movzx ebx, byte [ecx + edx]
movzx edx, byte [ecx + edx + 1]
cmp esi, 8
je 0x41fa3e
mov edi, 8
mov ecx, 7
sub ecx, esi
sub edi, esi
mov esi, 1
shl esi, cl
mov ecx, edi
shl eax, cl
shl edx, cl
shl ebx, cl
add eax, esi
add edx, esi
add ebx, esi
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0x50]
mov byte [esp + 0x66], bl
mov byte [esp + 0x67], dl
movzx ecx, word [esp + 0x66]
lea edx, [esp + 0x75]
mov byte [esp + 0x68], al
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov word [esp + 4], cx
mov byte [esp + 6], al
mov dword [esp], edx
call dword [esp + 0xc8]
lea eax, [esp + 0x78]
mov ecx, 7
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x48], eax
movzx eax, byte [esp + 0x44]
mov edi, dword [esp + 0xc4]
mov esi, dword [esi]
mov dword [esp + 0x80], 0x2fa04
imul eax, eax, 0x1010101
mov dword [esp + 0x84], 0x2fa04
mov edi, dword [edi + 4]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x88], 0x2fa04
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x20], edi
xor edi, edi
mov eax, dword [eax + 0x10]
mov dword [esp + 0x8c], 0x2fa04
mov dword [esp + 0x90], 0x2fa04
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x94], 0x2fa04
mov ebx, dword [eax + 0xc]
mov eax, 1
mov dword [esp + 0x98], 0x2fa04
mov dword [esp + 0x9c], 0x2fa04
sub ecx, ebx
mov dword [esp + 0x18], ebx
shl eax, cl
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x34], eax
mov eax, 8
sub eax, ebx
mov dword [esp + 0x2c], eax
jmp 0x41fb71
add edi, 1
add esi, dword [esp + 0x20]
cmp dword [esp + 0x1c], edi
je 0x41fc4b
mov ebx, dword [esp + 0x30]
mov ebp, edi
test ebx, ebx
je 0x41fb98
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0x38]
cmp eax, dword [edx + 0x14]
jge 0x41fb98
mov edx, eax
mov eax, edi
cmp al, byte [ebx + edx]
je 0x420290
cmp dword [esp + 0x18], 8
movzx ebx, byte [esi + 2]
movzx eax, byte [esi + 1]
movzx edx, byte [esi]
je 0x41fbc4
movzx ecx, byte [esp + 0x2c]
shl ebx, cl
add bl, byte [esp + 0x24]
shl eax, cl
add al, byte [esp + 0x24]
shl edx, cl
movzx ebx, bl
add dl, byte [esp + 0x24]
movzx ecx, byte [esp + 0x75]
movzx edx, dl
movzx eax, al
sub edx, ecx
movzx ecx, byte [esp + 0x76]
imul edx, edx
sub eax, ecx
movzx ecx, byte [esp + 0x77]
imul eax, eax
sub ebx, ecx
imul ebx, ebx
add eax, edx
add ebx, eax
cmp dword [esp + 0x9c], ebx
jle 0x41fb60
mov dword [esp + 0x3c], edi
mov ecx, dword [esp + 0x34]
xor eax, eax
mov edi, dword [esp + 0x48]
lea esi, [esi]
nop
mov edx, dword [ecx + eax*4]
cmp edx, ebx
jle 0x41fc2e
mov dword [ecx + eax*4], ebx
movzx ebx, byte [edi + eax]
mov byte [esp + 0x28], bl
mov ebx, ebp
movzx ebp, byte [esp + 0x28]
mov byte [edi + eax], bl
mov ebx, edx
add eax, 1
cmp eax, 8
jne 0x41fc10
mov edi, dword [esp + 0x3c]
add esi, dword [esp + 0x20]
add edi, 1
cmp dword [esp + 0x1c], edi
jne 0x41fb71
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c]
mov byte [esi], al
imul eax, dword [esp + 0x20]
movzx esi, byte [ebx + eax + 2]
lea edi, [ebx + eax]
lea edx, [ebx + eax + 1]
mov eax, dword [esp + 0x18]
cmp eax, 8
je 0x4202b0
mov ebp, 8
mov ecx, 7
mov ebx, esi
movzx edx, byte [edx]
sub ecx, eax
sub ebp, eax
mov eax, 1
movzx ebx, bl
shl eax, cl
mov ecx, ebp
shl ebx, cl
shl edx, cl
lea esi, [eax + ebx]
movzx ebx, byte [edi]
add edx, eax
shl ebx, cl
add eax, ebx
mov byte [esp + 0x69], al
mov eax, esi
lea ebx, [esp + 0x79]
mov byte [esp + 0x6a], dl
mov byte [esp + 0x6b], al
movzx eax, word [esp + 0x69]
mov word [esp + 4], ax
mov eax, esi
mov byte [esp + 6], al
movzx eax, word [esp + 0x75]
mov word [esp + 0x38], ax
mov word [esp], ax
movzx eax, byte [esp + 0x77]
mov byte [esp + 0x3c], al
mov byte [esp + 2], al
call fcn.0041f5f0
mov ecx, 8
sub ecx, dword [esp + 0x18]
movzx edi, byte [esp + 0x24]
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
lea esi, [esi]
nop
movzx ecx, byte [ebx]
mov byte [esp + 0x2c], cl
imul ecx, dword [esp + 0x20]
cmp dword [esp + 0x18], 8
movzx eax, byte [esi + ecx + 2]
movzx edx, byte [esi + ecx + 1]
movzx ebp, byte [esi + ecx]
je 0x41fd44
movzx ecx, byte [esp + 0x24]
shl eax, cl
shl edx, cl
mov ecx, ebp
movzx ebp, cl
movzx ecx, byte [esp + 0x24]
add eax, edi
add edx, edi
shl ebp, cl
add ebp, edi
mov byte [esp + 0x6e], al
mov ecx, ebp
mov byte [esp + 6], al
movzx eax, word [esp + 0x38]
mov byte [esp + 0x6c], cl
mov byte [esp + 0x6d], dl
movzx edx, word [esp + 0x6c]
mov word [esp], ax
movzx eax, byte [esp + 0x3c]
mov word [esp + 4], dx
mov byte [esp + 2], al
call fcn.0041f5f0
cmp eax, dword [esp + 0x28]
jge 0x41fd8c
mov edx, dword [esp + 0x40]
movzx ecx, byte [esp + 0x2c]
mov dword [esp + 0x28], eax
mov byte [edx], cl
add ebx, 1
cmp dword [esp + 0x34], ebx
jne 0x41fd08
add dword [esp + 0x44], 1
mov eax, dword [esp + 0x44]
add dword [esp + 0x40], 1
cmp dword [esp + 0x1c], eax
jne 0x41f9c0
mov edi, dword [esp + 0x1c]
add dword [esp + 0x58], edi
add dword [esp + 0x50], 1
jne 0x41f988
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], 0x599080
mov dword [esp], edi
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x50], 1
add edi, dword [eax + 0xc]
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x420223
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x34], eax
lea esi, [esi]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov eax, edi
mov edi, dword [esp + 0x34]
mov byte [esi], al
test edi, edi
je 0x41fe55
mov ebx, dword [esp + 0xc4]
mov esi, dword [esp + 0x54]
cmp esi, dword [ebx + 0x14]
jge 0x41fe55
cmp byte [edi + esi], al
je 0x4202c5
mov eax, dword [esp + 0xc4]
mov edi, dword [esp + 0xc4]
mov edx, dword [esp + 0x48]
imul edx, dword [eax + 4]
mov ecx, dword [eax]
mov esi, dword [edi + 0xc]
movzx eax, byte [ecx + edx + 2]
movzx ebx, byte [ecx + edx]
movzx edx, byte [ecx + edx + 1]
cmp esi, 8
je 0x41fea6
mov edi, 8
mov ecx, 7
sub ecx, esi
sub edi, esi
mov esi, 1
shl esi, cl
mov ecx, edi
shl eax, cl
shl edx, cl
shl ebx, cl
add eax, esi
add edx, esi
add ebx, esi
mov esi, dword [esp + 0xc0]
mov byte [esp + 0x6f], bl
mov byte [esp + 0x70], dl
movzx ecx, word [esp + 0x6f]
lea edx, [esp + 0x63]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x50]
mov byte [esp + 0x71], al
mov dword [esp + 8], esi
mov word [esp + 4], cx
mov byte [esp + 6], al
mov dword [esp], edx
call dword [esp + 0xc8]
lea eax, [esp + 0x78]
mov ecx, 7
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x40], eax
movzx eax, byte [esp + 0x48]
mov esi, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x80], 0x2fa04
imul eax, eax, 0x1010101
mov dword [esp + 0x84], 0x2fa04
mov dword [esp + 0x24], edi
xor edi, edi
mov dword [esp + 0x88], 0x2fa04
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x8c], 0x2fa04
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x90], 0x2fa04
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x94], 0x2fa04
mov ebx, dword [eax + 0xc]
mov eax, 1
mov dword [esp + 0x98], 0x2fa04
mov dword [esp + 0x9c], 0x2fa04
sub ecx, ebx
mov dword [esp + 0x20], ebx
shl eax, cl
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x38], eax
mov eax, 8
sub eax, ebx
mov dword [esp + 0x2c], eax
jmp 0x41ffd1
add edi, 1
add esi, dword [esp + 0x24]
cmp dword [esp + 0x1c], edi
je 0x4200ab
mov ecx, dword [esp + 0x34]
mov ebp, edi
test ecx, ecx
je 0x41fff8
mov ebx, dword [esp + 0xc4]
mov eax, dword [esp + 0x30]
cmp eax, dword [ebx + 0x14]
jge 0x41fff8
mov ebx, eax
mov eax, edi
cmp byte [ecx + ebx], al
je 0x420280
cmp dword [esp + 0x20], 8
movzx ebx, byte [esi + 2]
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
je 0x420024
movzx ecx, byte [esp + 0x2c]
shl ebx, cl
add bl, byte [esp + 0x18]
shl eax, cl
add al, byte [esp + 0x18]
shl edx, cl
movzx ebx, bl
add dl, byte [esp + 0x18]
movzx ecx, byte [esp + 0x63]
movzx edx, dl
movzx eax, al
sub edx, ecx
movzx ecx, byte [esp + 0x64]
imul edx, edx
sub eax, ecx
movzx ecx, byte [esp + 0x65]
imul eax, eax
sub ebx, ecx
imul ebx, ebx
add eax, edx
add ebx, eax
cmp dword [esp + 0x9c], ebx
jle 0x41ffc0
mov dword [esp + 0x3c], edi
mov ecx, dword [esp + 0x38]
xor eax, eax
mov edi, dword [esp + 0x40]
lea esi, [esi]
nop
mov edx, dword [ecx + eax*4]
cmp edx, ebx
jle 0x42008e
mov dword [ecx + eax*4], ebx
movzx ebx, byte [edi + eax]
mov byte [esp + 0x28], bl
mov ebx, ebp
movzx ebp, byte [esp + 0x28]
mov byte [edi + eax], bl
mov ebx, edx
add eax, 1
cmp eax, 8
jne 0x420070
mov edi, dword [esp + 0x3c]
add esi, dword [esp + 0x24]
add edi, 1
cmp dword [esp + 0x1c], edi
jne 0x41ffd1
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x4c]
mov byte [esi], al
imul eax, dword [esp + 0x24]
movzx esi, byte [ebx + eax + 2]
lea edi, [ebx + eax]
lea edx, [ebx + eax + 1]
mov eax, dword [esp + 0x20]
cmp eax, 8
je 0x4202a0
mov ebp, 8
mov ecx, 7
mov ebx, esi
movzx edx, byte [edx]
sub ecx, eax
sub ebp, eax
mov eax, 1
movzx ebx, bl
shl eax, cl
mov ecx, ebp
shl ebx, cl
shl edx, cl
lea esi, [eax + ebx]
movzx ebx, byte [edi]
add edx, eax
shl ebx, cl
add eax, ebx
mov byte [esp + 0x72], al
mov eax, esi
lea ebx, [esp + 0x79]
mov byte [esp + 0x73], dl
mov byte [esp + 0x74], al
movzx eax, word [esp + 0x72]
mov word [esp + 4], ax
mov eax, esi
mov byte [esp + 6], al
movzx eax, word [esp + 0x63]
mov word [esp + 0x3c], ax
mov word [esp], ax
movzx eax, byte [esp + 0x65]
mov byte [esp + 0x40], al
mov byte [esp + 2], al
call fcn.0041f5f0
movzx edi, byte [esp + 0x18]
mov dword [esp + 0x18], ebx
mov ecx, 8
mov esi, dword [esp + 0x4c]
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
lea esi, [esi]
nop
mov eax, dword [esp + 0x18]
movzx edx, byte [eax]
mov byte [esp + 0x30], dl
imul edx, dword [esp + 0x24]
cmp dword [esp + 0x20], 8
movzx eax, byte [esi + edx + 2]
movzx ebp, byte [esi + edx]
movzx edx, byte [esi + edx + 1]
je 0x42019e
shl eax, cl
mov ebx, ebp
shl edx, cl
movzx ebp, bl
add eax, edi
add edx, edi
shl ebp, cl
add ebp, edi
mov byte [esp + 0x77], al
mov byte [esp + 6], al
movzx eax, word [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, ebp
mov byte [esp + 0x75], cl
mov byte [esp + 0x76], dl
movzx edx, word [esp + 0x75]
mov word [esp], ax
movzx eax, byte [esp + 0x40]
mov word [esp + 4], dx
mov byte [esp + 2], al
call fcn.0041f5f0
cmp eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
jge 0x4201ee
mov edx, dword [esp + 0x44]
movzx ebx, byte [esp + 0x30]
mov dword [esp + 0x2c], eax
mov byte [edx], bl
add dword [esp + 0x18], 1
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x420168
add dword [esp + 0x48], 1
mov eax, dword [esp + 0x48]
add dword [esp + 0x44], 1
cmp dword [esp + 0x1c], eax
jne 0x41fe28
mov edi, dword [esp + 0x1c]
add dword [esp + 0x58], edi
add dword [esp + 0x50], 1
mov eax, dword [esp + 0x50]
cmp dword [esp + 0xc0], eax
jge 0x41fdf3
mov ebp, dword [esp + 0x5c]
mov edx, dword [ebp + 8]
test edx, 0x40000000
jne 0x42026a
mov ecx, dword [ebp + 4]
mov edi, dword [ebp + 0xc]
lea eax, [ecx + 4]
lea esi, [eax + edx*8]
xor edx, edx
jmp 0x42025b
add eax, 4
mov ebx, dword [ebp]
add ebx, edx
add edx, edi
mov dword [ecx], ebx
mov ecx, eax
cmp esi, eax
jne 0x420258
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
add dword [esp + 0x30], 1
jmp 0x41ffc0
add dword [esp + 0x38], 1
jmp 0x41fb60
movzx edx, byte [edx]
movzx eax, byte [edi]
jmp 0x420107
movzx edx, byte [edx]
movzx eax, byte [edi]
jmp 0x41fca7
add dword [esp + 0x54], 1
jmp 0x41fd99
add dword [esp + 0x54], 1
jmp 0x420203
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], 0x599080
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x420239