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

Disassembly:
push 0xffffffffffffffff
push 0x430493
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43c024]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0xa0], ebx
push 4
lea esi, [esp + 0x68]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.00404e70
push 0x2a
lea eax, [esp + 0x78]
push eax
lea edi, [esp + 0xb8]
mov byte [esp + 0xa8], 1
call fcn.00407aa0
mov dword [esp + 0x28], 0xffffffff
mov edi, eax
lea eax, [esp + 0x2c]
mov byte [esp + 0xa0], 3
call fcn.00404b90
mov byte [esp + 0xa0], 5
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00421bde
mov edx, dword [esp + 0xc0]
add esp, 4
cmp dword [edx + 4], ebx
lea esi, [esp + 0x3c]
lea edi, [esp + 0x28]
mov byte [esp + 0x1a], bl
sete byte [esp + 0x1b]
call fcn.00407e50
test al, al
je 0x41fbf4
jmp 0x41fa10
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0xac]
movzx edi, word [ebp]
mov ecx, dword [eax]
movzx edx, word [ecx]
movzx eax, di
add ebp, 2
add ecx, 2
mov esi, ebp
cmp ax, dx
jb 0x41fa5d
ja 0x41fa5d
cmp ax, bx
je 0x41fa4e
movzx eax, word [esi]
movzx edx, word [ecx]
add esi, 2
add ecx, 2
cmp ax, dx
jae 0x41fa34
jmp 0x41fa5d
mov byte [esp + 0x1a], 1
cmp byte [esp + 0x1b], bl
jne 0x41fc7a
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx]
movzx ecx, word [edx]
movzx eax, di
add edx, 2
mov esi, ebp
cmp ax, cx
jb 0x41fa9f
ja 0x41fa9f
cmp ax, bx
je 0x41fa90
movzx eax, word [esi]
movzx ecx, word [edx]
add esi, 2
add edx, 2
cmp ax, cx
jae 0x41fa76
jmp 0x41fa9f
mov byte [esp + 0x1b], 1
cmp byte [esp + 0x1a], bl
jne 0x41fc7a
mov edx, dword [esp + 0x5c]
shr edx, 4
test dl, 1
je 0x41fbdf
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x84]
push ecx
lea edi, [esp + 0xb8]
call fcn.00407a30
push 0x5c
lea edx, [esp + 0x20]
push edx
mov edi, eax
mov byte [esp + 0xa8], 6
call fcn.00407aa0
mov byte [esp + 0xa0], 8
mov eax, dword [esp + 0x80]
push eax
call fcn.00421bde
mov ecx, dword [esp + 0xc0]
add esp, 4
push ecx
sub esp, 0xc
mov esi, esp
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x48], esp
cmp eax, ebx
je 0x41fb1e
push eax
call fcn.00404e70
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi]
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x41fb24
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0xa0]
push ecx
mov dword [esi + 4], edx
call fcn.0041f940
mov edi, eax
lea edx, [esp + 0x1c]
mov byte [esp + 0xa0], 9
cmp edi, edx
je 0x41fba8
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x20], ebx
mov word [ecx], ax
mov eax, dword [edi + 4]
inc eax
cmp eax, dword [esp + 0x24]
je 0x41fb82
push eax
mov esi, edx
call fcn.00404e70
mov edx, dword [edi]
mov ecx, dword [esp + 0x1c]
jmp 0x41fb90
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x41fb90
mov edx, dword [edi + 4]
mov dword [esp + 0x20], edx
mov byte [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
push eax
call fcn.00421bde
add esp, 4
cmp dword [esp + 0x20], ebx
jne 0x41fce0
mov byte [esp + 0xa0], 5
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00421bde
add esp, 4
lea esi, [esp + 0x3c]
lea edi, [esp + 0x28]
call fcn.00407e50
test al, al
jne 0x41fa10
mov esi, dword [esp + 0xa8]
mov ebx, 0x434698
mov eax, esi
call fcn.00404b30
mov byte [esp + 0xa0], 1
mov eax, dword [esp + 0x2c]
push eax
call fcn.00421bde
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, 0xffffffff
je 0x41fc2c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0xa0], 0
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00421bde
mov dword [esp + 0xa4], 0xffffffff
mov edx, dword [esp + 0xb4]
add esp, 4
push edx
call fcn.00421bde
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x18
mov esi, dword [esp + 0xa8]
lea edi, [esp + 0xb0]
mov eax, esi
call fcn.00404b90
mov byte [esp + 0xa0], 1
mov edx, dword [esp + 0x2c]
push edx
call fcn.00421bde
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, 0xffffffff
je 0x41fcb4
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x64]
push eax
call fcn.00421bde
mov dword [esp + 0xa4], 0xffffffff
mov ecx, dword [esp + 0xb4]
add esp, 4
push ecx
jmp 0x41fc54
mov esi, dword [esp + 0xa8]
lea edi, [esp + 0x1c]
mov eax, esi
call fcn.00404b90
mov byte [esp + 0xa0], 5
mov edx, dword [esp + 0x1c]
push edx
call fcn.00421bde
mov byte [esp + 0xa4], 1
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00421bde
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, 0xffffffff
je 0x41fd2c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0xa0], bl
jmp 0x41fc34