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

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 3
add esp, 0xfffff004
push eax
dec eax
jne 0x4618ee
mov eax, dword [esp + 0x3000]
add esp, 0xfffffc54
mov byte [esp + 5], cl
mov byte [esp + 4], dl
mov dword [esp], eax
lea esi, [esp + 0x106d]
lea edi, [esp + 0x18]
mov dword [esp + 8], 1
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x461f81
inc dword [esp + 8]
lea edx, [esp + 0x6d]
mov ecx, 0xfff
mov eax, 0x4c1bd4
call fcn.00403148
mov eax, 0x4c1bd4
call fcn.00403154
lea eax, [esp + 0x6d]
mov dword [edi], eax
lea edx, [esp + 0x306d]
mov eax, edi
call fcn.004618a0
lea edx, [esp + 0x316d]
mov eax, edi
call fcn.004618a0
lea edx, [esp + 0x326d]
mov eax, edi
call fcn.004618a0
mov edx, esi
mov eax, edi
call fcn.004618a0
cmp byte [esi], 0
sete byte [esp + 0x20]
mov edx, esi
mov eax, edi
call fcn.004618a0
cmp byte [esi], 0x44
sete byte [esp + 0x21]
mov edx, esi
mov eax, edi
call fcn.004618a0
cmp byte [esi], 0x48
sete byte [esp + 0x2c]
mov edx, esi
mov eax, edi
call fcn.004618a0
cmp byte [esi], 0x53
sete byte [esp + 0x2d]
mov edx, esi
mov eax, edi
call fcn.004618a0
cmp byte [esi], 0x52
sete byte [esp + 0x2e]
mov edx, esi
mov eax, edi
call fcn.004618a0
cmp byte [esi], 0x41
sete byte [esp + 0x2f]
mov edx, esi
mov eax, edi
call fcn.004618a0
mov al, byte [esi]
cmp al, 0x43
je 0x4619fc
cmp al, 0x63
je 0x4619fc
xor ebx, ebx
jmp 0x4619fe
mov bl, 1
cmp al, 0x63
sete byte [esp + 0x30]
mov edx, esi
mov eax, edi
call fcn.004618a0
cmp byte [esi], 0x45
sete al
xor edx, edx
mov dword [esp + 0xc], edx
cmp byte [esp + 0x2c], 0
je 0x461a26
or dword [esp + 0xc], 2
cmp byte [esp + 0x2d], 0
je 0x461a32
or dword [esp + 0xc], 4
cmp byte [esp + 0x2e], 0
je 0x461a3e
or dword [esp + 0xc], 1
cmp byte [esp + 0x2f], 0
je 0x461a4a
or dword [esp + 0xc], 0x20
test bl, bl
je 0x461a56
or dword [esp + 0xc], 0x800
test al, al
je 0x461a62
or dword [esp + 0xc], 0x4000
mov edx, esi
mov eax, edi
call fcn.004618a0
mov byte [esp + 0x31], 0
mov al, byte [esi]
cmp al, 0x41
jne 0x461a7b
mov byte [esp + 0x31], 0x80
cmp al, 0x49
jne 0x461a84
mov byte [esp + 0x31], 0xa0
mov edx, dword [0x4beadc]
mov eax, edi
call fcn.004618a0
xor eax, eax
call fcn.004aa774
fistp qword [esp + 0x38]
wait
mov eax, dword [0x4be95c]
cmp byte [eax], 0
je 0x461b05
mov eax, dword [0x4beeb0]
cmp byte [eax], 0
jne 0x461b05
fild dword [esp + 8]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [0x4be85c]
mov eax, dword [eax]
call fcn.004ae0e4
movsx eax, byte [esp + 5]
mov edx, dword [esp]
mov edx, dword [edx + 0x84]
mov edx, dword [edx + eax*4 + 0x1ac]
mov eax, dword [0x4bedb0]
call fcn.004ae1b0
mov eax, dword [0x4bedb0]
mov edx, 0x23
call fcn.004b12a8
mov eax, dword [0x4bec68]
mov al, byte [eax]
mov edx, dword [0x4beeb0]
mov byte [edx], al
mov edx, esi
mov eax, edi
call fcn.004618a0
lea edx, [esp + 0x206d]
mov eax, edi
call fcn.004618a0
lea eax, [esp + 0x48]
mov dword [esp + 0x60], eax
push 0x270f
lea eax, [esp + 0x4c]
push eax
lea edx, [esp + 0x2075]
mov eax, esi
mov ecx, 0x641
call fcn.004127d4
test al, al
je 0x461b4b
xor eax, eax
mov dword [esp + 0x60], eax
mov edx, esi
mov eax, edi
call fcn.004618a0
lea edx, [esp + 0x206d]
mov eax, edi
call fcn.004618a0
lea eax, [esp + 0x50]
mov dword [esp + 0x64], eax
push 0x270f
lea eax, [esp + 0x54]
push eax
lea edx, [esp + 0x2075]
mov eax, esi
mov ecx, 0x641
call fcn.004127d4
test al, al
je 0x461b91
xor eax, eax
mov dword [esp + 0x64], eax
mov edx, esi
mov eax, edi
call fcn.004618a0
lea edx, [esp + 0x206d]
mov eax, edi
call fcn.004618a0
lea eax, [esp + 0x58]
mov dword [esp + 0x68], eax
push 0x270f
lea eax, [esp + 0x5c]
push eax
lea edx, [esp + 0x2075]
mov eax, esi
mov ecx, 0x641
call fcn.004127d4
test al, al
je 0x461bd7
xor eax, eax
mov dword [esp + 0x68], eax
mov edx, dword [0x4beadc]
mov eax, edi
call fcn.004618a0
call fcn.004aa714
mov dword [esp + 0x28], eax
mov eax, dword [0x4be95c]
cmp byte [eax], 0
je 0x461c55
mov eax, dword [0x4beeb0]
cmp byte [eax], 0
jne 0x461c55
fild dword [esp + 8]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [0x4be85c]
mov eax, dword [eax]
call fcn.004ae0e4
movsx eax, byte [esp + 5]
mov edx, dword [esp]
mov edx, dword [edx + 0x84]
mov edx, dword [edx + eax*4 + 0x1ac]
mov eax, dword [0x4bedb0]
call fcn.004ae1b0
mov eax, dword [0x4bedb0]
mov edx, 0x23
call fcn.004b12a8
mov eax, dword [0x4bec68]
mov al, byte [eax]
mov edx, dword [0x4beeb0]
mov byte [edx], al
mov edx, dword [0x4beadc]
mov eax, edi
call fcn.004618a0
mov al, 1
call fcn.004aa774
fistp qword [esp + 0x40]
wait
mov eax, dword [0x4be95c]
cmp byte [eax], 0
je 0x461cd6
mov eax, dword [0x4beeb0]
cmp byte [eax], 0
jne 0x461cd6
fild dword [esp + 8]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [0x4be85c]
mov eax, dword [eax]
call fcn.004ae0e4
movsx eax, byte [esp + 5]
mov edx, dword [esp]
mov edx, dword [edx + 0x84]
mov edx, dword [edx + eax*4 + 0x1ac]
mov eax, dword [0x4bedb0]
call fcn.004ae1b0
mov eax, dword [0x4bedb0]
mov edx, 0x23
call fcn.004b12a8
mov eax, dword [0x4bec68]
mov al, byte [eax]
mov edx, dword [0x4beeb0]
mov byte [edx], al
mov edx, esi
mov eax, edi
call fcn.004618a0
mov edx, esi
mov eax, edi
call fcn.004618a0
mov edx, dword [0x4beadc]
mov eax, edi
call fcn.004618a0
mov byte [esp + 0x32], 0xff
mov eax, dword [0x4beadc]
cmp byte [eax], 0x3f
jne 0x461d0b
mov byte [esp + 0x32], 0xfe
jmp 0x461d2f
mov eax, dword [0x4beadc]
cmp byte [eax], 0
je 0x461d2f
xor eax, eax
call fcn.004aa6bc
mov byte [esp + 0x32], al
mov eax, dword [0x4be95c]
cmp byte [eax], 0
je 0x461d2f
mov byte [esp + 0x32], 0xfe
mov edx, esi
mov eax, edi
call fcn.004618a0
mov byte [esp + 0x6c], 0
cmp byte [esi], 0
je 0x461d8a
mov eax, esi
call fcn.004b8144
mov byte [esi + eax - 1], 0
mov ebp, dword [0x4bedac]
movzx ebp, byte [ebp]
test ebp, ebp
jle 0x461d8a
mov dword [esp + 0x10], 1
mov ebx, dword [0x4be77c]
push esi
push ebx
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x461d80
mov al, byte [esp + 0x10]
inc eax
mov byte [esp + 0x6c], al
jmp 0x461d8a
inc dword [esp + 0x10]
add ebx, 0x16
dec ebp
jne 0x461d6a
cmp byte [esp + 4], 0xfe
je 0x461daa
lea eax, [esp + 0x316d]
call fcn.004ac290
cmp al, byte [esp + 4]
jne 0x461e13
cmp byte [esp + 0x21], 0
jne 0x461e13
push dword [esp + 0x3c]
push dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x20]
push eax
mov al, byte [esp + 0x39]
push eax
mov al, byte [esp + 0x3c]
push eax
mov al, byte [esp + 0x51]
push eax
push 0
mov al, byte [esp + 0x58]
push eax
mov eax, dword [esp + 0x54]
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
mov al, byte [esp + 0x6a]
push eax
mov ecx, dword [esp + 0x3c]
mov cl, byte [ecx + 0x442]
lea edx, [esp + 0x30a9]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x4c]
call fcn.00453100
test al, al
je 0x461f93
cmp byte [esp + 0x6c], 1
jle 0x461ee9
push 0x461fa0
lea eax, [esp + 0x3071]
push eax
call sub.kernel32.dll_lstrcatA
movsx eax, byte [esp + 0x6c]
imul eax, eax, 0x17
mov edx, dword [0x4beb14]
lea eax, [edx + eax*2 - 0x5c]
push eax
lea eax, [esp + 0x3071]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [esp + 0x306d]
mov dl, 0x3b
call fcn.004b8284
mov dword [edi], eax
cmp dword [edi], 0
je 0x461e6a
mov eax, dword [edi]
mov byte [eax], 0
cmp byte [esp + 4], 0xfe
je 0x461e88
lea eax, [esp + 0x306d]
call fcn.004aecd8
call fcn.004ac290
cmp al, byte [esp + 4]
jne 0x461ee9
push dword [esp + 0x3c]
push dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x20]
push eax
mov al, byte [esp + 0x39]
push eax
mov al, byte [esp + 0x3c]
push eax
mov al, byte [esp + 0x51]
push eax
push 1
mov al, byte [esp + 0x58]
push eax
mov eax, dword [esp + 0x54]
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
mov al, byte [esp + 0x6a]
push eax
mov ecx, dword [esp + 0x3c]
mov cl, byte [ecx + 0x442]
lea edx, [esp + 0x30a9]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x4c]
call fcn.00453100
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
movsx eax, word [eax + 0x92]
mov edx, dword [0x4be6b0]
mov dword [edx], eax
mov eax, dword [0x4bec7c]
mov eax, dword [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0x60]
mov ecx, 0x61
cdq
idiv ecx
dec edx
je 0x461f2e
mov eax, dword [esp + 8]
mov ecx, 0x9d
cdq
idiv ecx
cmp edx, 2
jne 0x461f77
mov eax, dword [0x4bec7c]
mov eax, dword [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0x60]
cmp eax, dword [esp + 0x14]
jle 0x461f5a
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov ax, word [eax + 0x92]
call fcn.0042b734
mov eax, dword [0x4bec7c]
mov eax, dword [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0x60]
mov dword [esp + 0x14], eax
call fcn.004ae0a4
mov eax, dword [0x4bed48]
cmp byte [eax], 0
jne 0x461f93
mov eax, 0x4c1bd4
call fcn.00402f34
test al, al
je 0x46192e
add esp, 0x33b0
pop ebp
pop edi
pop esi
pop ebx
ret