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

Disassembly:
jmp 0x41e7c0
sub esp, 0x48
mov eax, dword [0x61ebf8]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x64]
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ecx
test edi, edi
je 0x41e7ff
mov al, byte [ecx]
cmp al, 0x2b
je 0x41e7f8
cmp al, 0x2d
jne 0x41e7ff
mov ebx, 1
jmp 0x41e801
xor ebx, ebx
mov eax, dword [ebp + 0x14]
and eax, 0xe00
cmp eax, 0x800
jne 0x41e82d
lea eax, [ebx + 2]
cmp eax, edi
ja 0x41e82d
cmp byte [ecx + ebx], 0x30
jne 0x41e82d
mov cl, byte [ecx + ebx + 1]
cmp cl, 0x78
je 0x41e82b
cmp cl, 0x58
jne 0x41e82d
mov ebx, eax
mov eax, dword [ebp + 0x30]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x1c], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [esp + 0x18]
push eax
call fcn.00403c42
add esp, 4
mov dword [esp + 0x18], eax
test esi, esi
je 0x41e866
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x41e866
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
push edi
lea ecx, [esp + 0x2c]
call fcn.00403ddc
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x10]
cmovae eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
push eax
lea eax, [edi + ecx]
push eax
mov edx, dword [esi]
push ecx
mov ecx, esi
call dword [edx + 0x1c]
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x18]
push eax
call fcn.00407211
mov ecx, dword [esp + 0x20]
add esp, 4
mov esi, eax
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x41e8d0
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x41e8d0
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call dword [eax + 0x14]
cmp dword [esp + 0x50], 0x10
lea esi, [esp + 0x3c]
cmovae esi, dword [esp + 0x3c]
mov al, byte [esi]
cmp al, 0x7f
je 0x41e941
test al, al
jle 0x41e941
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov byte [esp + 0x10], al
mov al, byte [esi]
cmp al, 0x7f
je 0x41e941
nop dword [eax]
test al, al
jle 0x41e941
movsx ecx, al
mov eax, edi
sub eax, ebx
cmp ecx, eax
jae 0x41e941
push dword [esp + 0x10]
sub edi, ecx
lea ecx, [esp + 0x28]
push 1
push edi
call fcn.00406415
cmp byte [esi + 1], 0
lea eax, [esi + 1]
cmovg esi, eax
mov al, byte [esi]
cmp al, 0x7f
jne 0x41e910
cmp dword [ebp + 0x24], 0
mov edi, dword [esp + 0x34]
mov esi, dword [ebp + 0x20]
jl 0x41e95c
jg 0x41e954
test esi, esi
je 0x41e95c
cmp esi, edi
jbe 0x41e95c
sub esi, edi
jmp 0x41e95e
xor esi, esi
mov eax, dword [ebp + 0x14]
and eax, 0x1c0
cmp eax, 0x40
je 0x41ea2c
cmp eax, 0x100
je 0x41e9d1
push esi
push dword [esp + 0x74]
lea eax, [esp + 0x18]
push dword [esp + 0x70]
push dword [esp + 0x70]
push eax
push dword [esp + 0x70]
call fcn.00402d88
xor esi, esi
cmp dword [esp + 0x50], 0x10
push ebx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
push eax
push ecx
push edx
lea eax, [esp + 0x38]
mov dword [esp + 0x8c], edx
push eax
push dword [esp + 0x88]
mov dword [esp + 0x98], ecx
call fcn.00401cb2
add esp, 0x30
jmp 0x41ea55
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
push ebx
cmovae eax, dword [esp + 0x28]
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x1c]
push dword [esp + 0x70]
push eax
push dword [esp + 0x70]
call fcn.00401cb2
push esi
push dword [esp + 0x8c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x34]
push ecx
push eax
push dword [esp + 0x88]
mov dword [esp + 0x94], ecx
call fcn.00402d88
add esp, 0x30
xor esi, esi
jmp 0x41ea55
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
push ebx
cmovae eax, dword [esp + 0x28]
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x1c]
push dword [esp + 0x70]
push eax
push dword [esp + 0x70]
call fcn.00401cb2
add esp, 0x18
mov edx, dword [eax + 4]
mov ecx, dword [eax]
lea eax, [esp + 0x24]
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x64], ecx
cmovae eax, dword [esp + 0x24]
sub edi, ebx
push edi
add eax, ebx
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x60]
push eax
push edx
push ecx
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.00401cb2
push esi
push dword [esp + 0x8c]
mov esi, dword [esp + 0x40]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
push esi
push ebx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
call fcn.00402d88
mov ecx, dword [esp + 0x80]
add esp, 0x30
cmp ecx, 0x10
jb 0x41eaf5
mov edx, dword [esp + 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41eaeb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eb51
push ecx
push edx
call fcn.00401c12
add esp, 8
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0xf
mov byte [esp + 0x3c], 0
cmp ecx, 0x10
jb 0x41eb3c
mov edx, dword [esp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41eb32
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eb51
push ecx
push edx
call fcn.00401c12
add esp, 8
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403602
add esp, 0x48
ret
call fcn.004051f5
int3