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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x40]
mov ebx, dword [edi + 8]
lea ecx, [eax + 2]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
cmp ecx, eax
jg 0x46a137
lea edx, [esi + ecx]
sub eax, ecx
mov dword [edi + 0x40], edx
mov dword [edi + 0x3c], eax
jmp 0x46a147
mov eax, dword [edi + 0x4c]
lea edx, [eax + 1]
add eax, ecx
mov dword [ebp - 4], edx
mov dword [edi + 0x4c], eax
mov esi, edx
mov al, byte [edi + 0x13]
test al, al
jne 0x46a159
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
mov dword [ebp - 8], eax
jmp 0x46a168
dec al
movzx ecx, al
mov byte [edi + 0x13], al
mov edx, dword [edi + ecx*4 + 0x1c]
mov dword [ebp - 8], edx
mov eax, edi
call fcn.004764f0
push esi
mov esi, dword [ebp + 0xc]
push edi
xor cl, cl
mov edx, esi
call fcn.004778c0
mov eax, dword [esi + 4]
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ecx + 0x58], esi
jg 0x46a19e
push ebx
call fcn.00478b00
add esp, 4
test eax, eax
jne 0x46a1cd
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [ebp - 0x14]
lea edx, [esi + esi*2]
lea eax, [eax + edx*8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x44
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 0x14]
lea ecx, [edx + eax + 1]
push 1
push ecx
call fcn.004765c0
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
add esp, 8
cmp dword [edx + 0x58], esi
jg 0x46a1fd
push ebx
call fcn.00478b00
add esp, 4
test eax, eax
jne 0x46a22e
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [ebp - 4]
lea eax, [esi + esi*2]
lea eax, [ecx + eax*8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
xor esi, esi
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], esi
mov word [eax], 0x30
mov dword [eax + 0x14], esi
jmp 0x46a233
mov edx, dword [ebp - 8]
xor esi, esi
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 6]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov edi, dword [ebx + 0x20]
not cl
movzx ecx, cl
shr ecx, 6
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
or ecx, 0x6a
mov dword [ebp - 0x14], ecx
cmp dword [eax + 0x58], edi
jg 0x46a26e
push ebx
call fcn.00478b00
mov edx, dword [ebp - 8]
add esp, 4
test eax, eax
jne 0x46a296
mov ecx, dword [ebp - 0x14]
inc dword [ebx + 0x20]
lea eax, [edi + edi*2]
mov edi, dword [ebx + 4]
lea eax, [edi + eax*8]
mov byte [eax], cl
mov ecx, dword [ebp - 0x10]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0
mov dword [eax + 0x14], esi
mov eax, dword [ebp + 8]
cmp edx, esi
je 0x46a2c1
cmp byte [eax + 0x13], 8
jae 0x46a2c1
xor ecx, ecx
lea edi, [eax + 0x78]
cmp dword [edi + 0xc], edx
je 0x46a2f7
inc ecx
add edi, 0x14
cmp ecx, 0xa
jl 0x46a2a8
movzx ecx, byte [eax + 0x13]
mov dword [eax + ecx*4 + 0x1c], edx
inc byte [eax + 0x13]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
call fcn.004760e0
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax + 0x3c]
jle 0x46a2dc
mov edx, edi
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
cmp ecx, esi
je 0x46a4a2
mov eax, dword [eax + 0xc]
cmp eax, esi
je 0x46a2fd
inc eax
mov dword [ebp + 8], eax
jmp 0x46a300
mov byte [edi + 6], 1
jmp 0x46a2c1
mov dword [ebp + 8], ecx
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x58], edi
jg 0x46a321
push ebx
call fcn.00478b00
add esp, 4
test eax, eax
je 0x46a321
mov dword [ebp + 0x10], 1
jmp 0x46a34b
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*8]
mov ecx, dword [ebp + 8]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x87
mov dword [eax + 0x14], esi
mov dword [ebp + 0x10], edi
mov edi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x58], edi
jg 0x46a363
push ebx
call fcn.00478b00
add esp, 4
test eax, eax
jne 0x46a38e
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [ebp + 8]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*8]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x25
mov dword [eax + 0x14], esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x58], edi
jg 0x46a3af
push ebx
call fcn.00478b00
add esp, 4
test eax, eax
je 0x46a3af
mov dword [ebp + 8], 1
jmp 0x46a3d6
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*8]
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x10
mov dword [eax + 0x14], esi
mov dword [ebp + 8], edi
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jbe 0x46a3ea
mov edx, dword [ebx + 4]
lea ecx, [ecx + ecx*2]
mov dword [edx + ecx*8 + 8], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebp + 0xc]
dec eax
mov dword [ecx + 0x5c], eax
mov edi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
mov eax, dword [edx + 4]
mov dword [ebp + 0x10], eax
cmp dword [ecx + 0x58], edi
jg 0x46a415
push ebx
call fcn.00478b00
add esp, 4
test eax, eax
jne 0x46a43c
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [ebp + 0x10]
lea edx, [edi + edi*2]
lea eax, [eax + edx*8]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x66
mov dword [eax + 0x14], esi
mov edx, dword [ebp + 0xc]
mov edi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
mov eax, dword [edx + 4]
mov dword [ebp + 0xc], eax
cmp dword [ecx + 0x58], edi
jg 0x46a45d
push ebx
call fcn.00478b00
add esp, 4
test eax, eax
jne 0x46a484
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [ebp + 0xc]
lea edx, [edi + edi*2]
lea eax, [eax + edx*8]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x4a
mov dword [eax + 0x14], esi
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebp + 8]
cmp eax, ecx
jbe 0x46a498
lea edx, [ecx + ecx*2]
mov ecx, dword [ebx + 4]
mov dword [ecx + edx*8 + 8], eax
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
dec edx
mov dword [eax + 0x5c], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret