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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x4a00a0]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], esi
mov ecx, dword [esi]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
call fcn.004065c0
test al, al
je 0x414a46
cmp dword [esp + 0x54], 0x10
lea ecx, [esp + 0x40]
mov ebx, dword [esp + 0x50]
mov edx, 5
cmovae ecx, dword [esp + 0x40]
cmp ebx, edx
cmovb edx, ebx
test edx, edx
je 0x4146e8
mov esi, str.value
sub edx, 4
jb 0x4146a1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4146a6
add ecx, 4
add esi, 4
sub edx, 4
jae 0x414690
cmp edx, 0xfffffffc
je 0x4146da
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x4146d3
cmp edx, 0xfffffffd
je 0x4146da
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x4146d3
cmp edx, 0xfffffffe
je 0x4146da
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x4146d3
cmp edx, 0xffffffff
je 0x4146da
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x4146da
sbb eax, eax
or eax, 1
jmp 0x4146dc
xor eax, eax
test eax, eax
jne 0x414a46
mov esi, dword [esp + 0xc]
cmp ebx, 5
jb 0x414a46
ja 0x414a46
push 4
push str.name
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00404c20
mov ecx, dword [esi]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00406760
test al, al
mov eax, dword [esp + 0x3c]
sete bl
cmp eax, 0x10
jb 0x4147c8
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, 0x1000
jb 0x4147bf
test cl, 0x1f
jne 0x414a77
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x414a77
sub ecx, eax
cmp ecx, 4
jb 0x414a77
cmp ecx, 0x23
ja 0x414a77
mov ecx, eax
push ecx
call fcn.00466a7e
add esp, 4
test bl, bl
jne 0x414a3d
push 4
push str.type
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], bl
call fcn.00404c20
mov ecx, dword [esi]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00406760
test al, al
mov eax, dword [esp + 0x3c]
sete bl
cmp eax, 0x10
jb 0x414852
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, 0x1000
jb 0x414849
test cl, 0x1f
jne 0x414a77
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x414a77
sub ecx, eax
cmp ecx, 4
jb 0x414a77
cmp ecx, 0x23
ja 0x414a77
mov ecx, eax
push ecx
call fcn.00466a7e
add esp, 4
test bl, bl
jne 0x414a3d
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], bl
call fcn.00406690
test al, al
je 0x414a10
mov ecx, str._t_n_v_f_r
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414890
sub ecx, edx
lea eax, [esp + 0x88]
push ecx
push str._t_n_v_f_r
push eax
mov edx, 3
lea ecx, [esp + 0x1c]
call fcn.0041c580
mov ebx, dword [edi + 4]
lea eax, [esp + 0x64]
add esp, 0xc
cmp eax, ebx
jae 0x414969
mov eax, dword [edi]
lea ecx, [esp + 0x58]
cmp eax, ecx
ja 0x414969
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ebx, dword [edi + 8]
jne 0x4148f5
push ecx
mov ecx, edi
call fcn.004074e0
mov eax, dword [edi]
lea ecx, [esi + esi*8]
mov esi, dword [edi + 4]
lea ebx, [eax + ecx*8]
test esi, esi
je 0x414963
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.00404d20
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
lea eax, [ebx + 0x18]
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404d20
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [ebx + 0x30]
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404d20
mov esi, dword [esp + 0xc]
jmp 0x414987
cmp ebx, dword [edi + 8]
jne 0x414976
push ecx
mov ecx, edi
call fcn.004074e0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x414987
lea eax, [esp + 0x58]
push eax
call fcn.00407d60
add dword [edi + 4], 0x48
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x4149a3
inc eax
lea ecx, [esp + 0x10]
push eax
push dword [esp + 0x14]
call fcn.00405140
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00406b00
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x4149d9
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.00405140
mov ecx, dword [esi]
call fcn.00406430
test eax, eax
je 0x414636
cmp eax, 2
je 0x414a5e
mov ecx, dword [esi]
call fcn.00406510
test eax, eax
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00466c90
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x414a28
inc eax
lea ecx, [esp + 0x10]
push eax
push dword [esp + 0x14]
call fcn.00405140
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
lea ecx, [esp + 0x58]
call fcn.00406b00
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x414a5e
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.00405140
mov ecx, dword [esp + 0xa4]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00466c90
mov esp, ebp
pop ebp
ret 4
call fcn.0046c8dc
int3