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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebx]
push esi
mov esi, dword [ebx + 8]
push edi
xor edi, edi
mov dword [ebp - 0x14], eax
add esi, 0x28
push 8
pop eax
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call fcn.0040bb07
and dword [ebx + 0x14], edi
cmp dword [ebx + 0x58], 7
jne 0x416489
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x36], 1
xor eax, eax
inc eax
jmp 0x416747
cmp byte [ebx + 0x5d], 1
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 8], edx
jne 0x4164d2
mov eax, dword [ebx + 8]
add eax, 0x168
test byte [eax + 0x1c], 0x10
mov dword [ebp - 0x10], eax
je 0x4164b7
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
shr ecx, 2
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
mov edi, eax
xor eax, eax
cmp dword [ebp - 4], eax
jle 0x4164d2
mov ecx, dword [edi + eax*4]
add edx, dword [ecx + 4]
inc eax
cmp eax, dword [ebp - 4]
jl 0x4164be
mov dword [ebp - 8], edx
jmp 0x4164d2
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x54]
lea ecx, [eax + 1]
mov dword [ebx + 0x54], ecx
cmp eax, edx
jge 0x416525
cmp byte [ebx + 0x5d], 2
jne 0x4164f3
mov edx, dword [ebx + 4]
mov ecx, eax
imul ecx, ecx, 0x14
cmp byte [ecx + edx], 0x96
jne 0x4164cf
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xe0]
test ecx, ecx
je 0x41652c
push 9
pop ecx
xor esi, esi
mov dword [ebx + 0x58], ecx
inc esi
call fcn.0040896d
push eax
push 0x4aef10
push edx
lea edi, [ebx + 0x34]
call fcn.00414cd2
add esp, 0xc
jmp 0x416745
push 0x65
jmp 0x416740
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
jge 0x416540
mov edi, eax
imul edi, edi, 0x14
add edi, dword [ebx + 4]
mov dword [ebp - 8], edi
jmp 0x416564
mov edx, dword [edi]
sub eax, ecx
xor ecx, ecx
jmp 0x41654e
sub eax, edx
inc ecx
mov edx, dword [edi + ecx*4]
mov edx, dword [edx + 4]
cmp eax, edx
jge 0x416548
mov edx, dword [edi + ecx*4]
mov ecx, eax
imul ecx, ecx, 0x14
add ecx, dword [edx]
mov dword [ebp - 8], ecx
mov edi, ecx
cmp byte [ebx + 0x5d], 1
jne 0x416612
cdq
mov dword [esi + 0x10], eax
push 4
pop ecx
mov word [esi + 0x1c], cx
mov byte [esi + 0x1e], 1
mov dword [esi + 0x14], edx
mov eax, 0xa02
mov word [esi + 0x44], ax
movzx eax, byte [edi]
mov ecx, dword [eax*4 + 0x4abb68]
mov dword [esi + 0x2c], ecx
call fcn.00401a55
mov dword [esi + 0x40], eax
mov word [esi + 0x46], 0x103
add esi, 0x50
cmp byte [edi + 1], 0xee
jne 0x416612
mov ecx, dword [ebp - 4]
mov eax, ecx
shl eax, 2
mov dword [ebp - 0x18], eax
add eax, 4
mov dword [ebp - 0x14], eax
xor eax, eax
test ecx, ecx
jle 0x4165d5
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp - 0xc]
cmp dword [edx + eax*4], ecx
je 0x4165d5
inc eax
cmp eax, dword [ebp - 4]
jl 0x4165c7
cmp eax, dword [ebp - 4]
jne 0x416612
mov edi, dword [ebp - 0x10]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040b393
pop ecx
test eax, eax
jne 0x41660f
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov eax, edi
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x18]
mov dword [edi + ecx], edx
mov ecx, dword [ebp - 0x14]
or word [eax + 0x1c], 0x10
mov dword [eax + 0x18], ecx
mov edi, dword [ebp - 8]
push 4
pop eax
mov word [esi + 0x1c], ax
mov eax, dword [edi + 4]
cdq
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov byte [esi + 0x1e], 1
push 4
pop eax
mov word [esi + 0x44], ax
mov eax, dword [edi + 8]
cdq
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
push 4
mov byte [esi + 0x46], 1
pop eax
mov word [esi + 0x6c], ax
mov eax, dword [edi + 0xc]
cdq
push 0
mov dword [esi + 0x60], eax
push 0x20
pop eax
lea edi, [esi + 0x78]
mov dword [esi + 0x64], edx
mov byte [esi + 0x6e], 1
call fcn.0040b393
pop ecx
test eax, eax
jne 0x416481
mov ecx, dword [esi + 0x7c]
mov eax, 0x602
mov word [esi + 0x94], ax
mov eax, dword [ebp - 8]
push 0x20
call fcn.00410a38
pop ecx
mov ecx, dword [esi + 0x7c]
cmp eax, ecx
je 0x41669c
push 1
push eax
xor eax, eax
or ecx, 0xffffffff
lea edx, [esi + 0x78]
call fcn.0041623a
pop ecx
pop ecx
jmp 0x4166ae
call fcn.00401a55
mov dword [esi + 0x90], eax
mov byte [esi + 0x97], 1
mov byte [esi + 0x96], 3
cmp byte [ebx + 0x5d], 1
jne 0x416721
push 0
push 4
pop eax
lea edi, [esi + 0xa0]
call fcn.0040b393
pop ecx
test eax, eax
jne 0x416481
mov eax, 0x602
mov word [esi + 0xbc], ax
mov eax, dword [ebp - 8]
mov dword [esi + 0xb8], 2
movzx eax, byte [eax + 3]
push eax
push str._.2x
push dword [esi + 0xa4]
push 3
call fcn.0040f210
xor eax, eax
add esp, 0x10
mov word [esi + 0xbe], 0x103
inc eax
mov word [esi + 0xe4], ax
mov byte [esi + 0xe6], 5
movzx eax, byte [ebx + 0x5d]
push 2
dec ax
pop ecx
sub cx, ax
mov eax, dword [ebx + 8]
shl cx, 2
add eax, 0x28
mov word [ebx + 0x2c], cx
mov dword [ebx + 0x14], eax
push 0x64
and dword [ebx + 0x58], 0
pop esi
mov eax, esi
pop edi
pop esi
leave
ret