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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov eax, dword [0x567b10]
xor eax, esp
mov dword [esp + 0x60], eax
lea ebp, [esp + 0x40]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 4
test ebx, ebx
mov dword [esp + 0xc], ecx
je 0x41f76c
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
xor ebp, ebp
sub ecx, eax
je 0x41f5cf
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
neg ecx
mov edx, 1
mov esi, eax
jmp 0x41f5c1
lea edi, [ecx + edx]
add edi, 1
add edx, 1
add esi, 0xc
cmp edi, 1
je 0x41f5cf
mov edi, dword [esi]
cmp dword [edi + 4], ebx
ja 0x41f5b0
cmp dword [edi + 8], ebx
jb 0x41f5b0
mov ebp, edx
lea ecx, [ebp*2]
add ecx, ebp
mov edi, dword [eax + ecx*4 - 0xc]
mov eax, dword [edi]
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov edx, dword [edi + 4]
mov eax, ebx
mov dword [esp + 4], ebp
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp edx, eax
je 0x41f62a
movzx ecx, byte [eax - 1]
add eax, 0xffffffff
cmp cl, 0xd
je 0x41f625
cmp cl, 0xa
jne 0x41f610
add eax, 1
mov edx, eax
mov eax, dword [edi + 8]
mov esi, ebx
cmp eax, ebx
je 0x41f656
mov esi, ebx
nop word cs:[eax + eax]
nop
movzx ecx, byte [esi]
cmp cl, 0xa
je 0x41f656
cmp cl, 0xd
je 0x41f656
add esi, 1
cmp eax, esi
jne 0x41f640
mov esi, eax
mov eax, dword [esp + 0x8c]
test eax, eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 8], edx
je 0x41f6fe
xor edi, edi
mov dword [esp], esi
jmp 0x41f6b6
cmp ecx, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x34]
mov edx, 0
cmova esi, edx
mov dword [ecx + eax*8 + 4], ebx
mov dword [ecx + eax*8], esi
add dword [esp + 0x38], 1
mov edx, ebp
mov esi, dword [esp]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
add edi, 1
cmp eax, edi
je 0x41f6fe
mov ebp, dword [ecx + edi*8]
test ebp, ebp
je 0x41f6af
cmp esi, ebp
jb 0x41f6af
mov ebx, dword [ecx + edi*8 + 4]
cmp edx, ebx
ja 0x41f6af
cmp esi, ebx
cmovb ebx, esi
sub ebx, edx
mov esi, ebp
sub esi, edx
mov eax, dword [esp + 0x38]
mov ecx, edx
lea edx, [eax + 1]
cmp edx, dword [esp + 0x3c]
jbe 0x41f680
lea ecx, [esp + 0x34]
push 8
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00424880
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x38]
jmp 0x41f680
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x41f86a
mov eax, dword [esp + 0xc]
mov edi, dword [eax]
mov ebx, dword [esp + 0x7c]
sub esi, edx
mov dword [esp], esi
lea esi, [ecx + ecx*2]
lea ecx, [edi + esi*4]
add ecx, 0xfffffff4
push ebx
call fcn.0041efc0
mov dword [esp + 4], eax
mov eax, dword [edi + esi*4 - 0xc]
mov eax, dword [eax + 4]
mov esi, ebx
sub esi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
push 2
push 0x537764
call fcn.00423430
mov edi, eax
not edi
add edi, esi
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x84]
jmp 0x41f7a0
mov edi, 0xffffffff
mov dword [esp + 0x14], 9
mov dword [esp + 0x18], str._unknown_
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov esi, dword [esp + 0x94]
lea ebx, [esp + 0x1c]
mov ecx, edx
push ebx
call fcn.004382d0
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x30], 0xf
jbe 0x41f7c2
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
push esi
push dword [esp + 0x94]
push dword [esp + 0x18]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x1c]
push eax
push ebx
push dword [esp + 0xa0]
push edi
push dword [esp + 0x2c]
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0xb0]
push dword [esp + 0x44]
call fcn.0041f8e0
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x41f83b
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x41f831
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x41f8d3
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.00533ac0
add esp, 8
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x41f851
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00533ace
mov eax, dword [esp + 0x78]
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret 0x20
mov eax, dword [esp + 0xc]
mov edi, dword [eax]
mov eax, dword [eax + 4]
xor ecx, ecx
sub eax, edi
mov ebx, dword [esp + 0x7c]
je 0x41f714
mov dword [esp], esi
mov ebp, edx
sar eax, 2
imul eax, eax, 0xaaaaaaab
neg eax
mov ecx, 1
mov edx, edi
jmp 0x41f8b1
lea esi, [eax + ecx]
add esi, 1
add ecx, 1
add edx, 0xc
cmp esi, 1
je 0x41f8c7
mov esi, dword [edx]
cmp dword [esi + 4], ebx
ja 0x41f8a0
cmp dword [esi + 8], ebx
jb 0x41f8a0
mov edx, ebp
mov esi, dword [esp]
jmp 0x41f714
mov edx, ebp
mov esi, dword [esp]
xor ecx, ecx
jmp 0x41f714
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3