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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, ecx
sub esp, 0x6c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x461574
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov esi, dword [eax + 0x10]
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x3c], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], esi
mov edx, dword [eax + 4]
xor eax, eax
mov word [ebp - 0x2c], ax
xor eax, eax
mov word [ebp - 0x1c], ax
mov eax, edx
and eax, 0x80000000
cmp eax, 1
sbb eax, eax
and eax, 0x20
add ax, 0x1d6
mov word [ebp - 0x5a], ax
mov eax, dword [esi]
test eax, eax
je 0x4615a0
mov ebx, dword [eax + 4]
mov dword [ebp - 0x68], ebx
add ebx, 0x200
cmp ebx, dword [eax]
mov esi, ebx
ja 0x4615a0
mov ebx, dword [ebp - 0x68]
add ebx, 0x10
add ebx, eax
mov dword [eax + 4], esi
mov esi, 0x405
mov dword [ebp - 0x30], 0x74ad73
mov dword [ebp - 0x38], 5
mov word [ebp - 0x2a], si
mov dword [ebx], 5
lea esi, [ebp - 0x50]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0xc], eax
mov eax, edx
movzx edx, word [ebp - 0x5a]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x20]
mov word [ebp - 0x1a], dx
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x900
mov eax, dword [eax]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00460f20
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0041fa30
xor edx, edx
mov ecx, 0x405
mov dword [ebx + 0x20], 7
mov word [ebp - 0x1c], dx
mov word [ebp - 0x1a], cx
sub esp, 8
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0x74ad79
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x46131d
mov dword [esp], eax
call fcn.006ff4e0
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x901
mov eax, dword [eax]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00460f20
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0041fa30
xor eax, eax
mov dword [ebx + 0x40], 7
mov dword [ebx + 0x44], 0
mov word [ebp - 0x1c], ax
mov eax, 0x405
mov dword [ebx + 0x48], 0x74ad81
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x46139c
mov dword [esp], eax
call fcn.006ff4e0
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x902
mov eax, dword [eax]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00460f20
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0041fa30
xor eax, eax
mov dword [ebx + 0x60], 4
mov dword [ebx + 0x64], 0
mov word [ebp - 0x1c], ax
mov eax, 0x405
mov dword [ebx + 0x68], 0x74ad89
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x70], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x74], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x46141b
mov dword [esp], eax
call fcn.006ff4e0
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x903
mov eax, dword [eax]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00460f20
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0041fa30
xor eax, eax
mov dword [ebx + 0x80], 6
mov dword [ebx + 0x84], 0
mov word [ebp - 0x1c], ax
mov eax, 0x405
mov dword [ebx + 0x88], str.vendor
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x90], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x94], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x98], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4614b2
mov dword [esp], eax
call fcn.006ff4e0
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x904
mov eax, dword [eax]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00460f20
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0041fa30
xor edx, edx
mov ecx, 0x405
mov dword [ebx + 0xa0], 0xa
mov word [ebp - 0x1c], dx
mov word [ebp - 0x1a], cx
sub esp, 8
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], str.extensions
mov dword [ebx + 0xac], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0xb0], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0xb4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0xb8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0xbc], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x461549
mov dword [esp], eax
call fcn.006ff4e0
mov eax, 3
mov dword [edi + 8], ebx
mov dword [edi], 6
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 4], 0x10
mov dword [edi + 0xc], eax
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, edi
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 4]
mov ebx, eax
mov esi, eax
mov eax, dword [ebp - 0x60]
cmp ebx, 0x200
mov eax, dword [eax + 0xc]
jbe 0x4615ca
test eax, eax
je 0x461617
mov eax, esi
add eax, 0x10
jne 0x4615d8
xor ebx, ebx
jmp 0x461247
test eax, eax
je 0x461612
mov eax, 0x210
mov esi, 0x200
mov dword [esp], eax
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], ecx
call sub.msvcrt.dll_memset
test eax, eax
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
je 0x4615c3
mov ebx, dword [ebp - 0x60]
mov dword [eax], esi
mov dword [eax + 4], 0
mov esi, dword [ebx]
mov dword [eax + 8], esi
mov dword [ebx], eax
mov esi, 0x200
mov ebx, 0x10
jmp 0x461242
mov esi, 0x200
mov dword [esp], 1
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], ecx
call fcn.006ff530
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov edx, dword [ebp - 0x68]
jmp 0x4615bc