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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ccb48
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4f8458]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
cmp dword [ebp + 0xc], 3
jne 0x461dd7
xor edi, edi
cmp dword [ecx + 0xbc], edi
je 0x461dbf
mov dword [esp + 0x58], 0x4de22c
mov dword [esp + 0x5c], str.OmhV
mov dword [esp + 0x60], 0x4de240
mov dword [esp + 0x64], 0x4de24c
mov dword [esp + 0x68], 0x4de258
call fcn.00413c80
mov dword [esp + 0x34], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x34]
mov dword [eax], eax
mov eax, dword [esp + 0x34]
mov dword [eax + 8], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
push 0x40af40
push ecx
mov byte [esp + 0x88], 1
call fcn.00438450
add esp, 4
push eax
lea eax, [esp + 0x50]
call fcn.00409ec0
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0x4c]
cmp ebx, dword [esp + 0x50]
jbe 0x461991
call fcn.0049458d
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x2c], ebx
jbe 0x4619a4
call fcn.0049458d
cmp ebx, esi
je 0x461a8d
cmp ebx, dword [esp + 0x50]
jb 0x4619b7
call fcn.0049458d
mov esi, dword [ebx]
cmp esi, edi
je 0x461a3b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + eax*4 + 0x58]
mov eax, ecx
lea ebx, [esi + 0xa4]
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4619d4
sub eax, edi
sar eax, 1
push ecx
mov edi, eax
mov eax, dword [ebx + 0x14]
mov ecx, ebx
call fcn.004038a0
test eax, eax
jne 0x461a35
lea ebx, [esi + 8]
lea eax, [esp + 0x30]
call fcn.00465990
mov edi, eax
lea eax, [esp + 0x30]
call fcn.00413240
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edi
mov ecx, edx
push ecx
push eax
push edx
lea edi, [esp + 0x38]
call fcn.00465f20
add esp, 0x14
cmp dword [esp + 0x24], 0
je 0x461a55
mov ebx, dword [esp + 0x2c]
xor edi, edi
cmp dword [esp + 0x14], 3
je 0x461aa8
cmp ebx, dword [esp + 0x50]
jb 0x461a4d
call fcn.0049458d
add ebx, 4
jmp 0x461991
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x4f0]
mov edx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
push 1
push 0
push 0
push 0
push edx
push 0
call eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x34]
lea ebx, [esi + 8]
push edx
call fcn.004123a0
add dword [esp + 0x14], 1
xor edi, edi
cmp dword [esp + 0x14], 3
je 0x461aa8
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, 5
mov dword [esp + 0x1c], eax
jb 0x461982
push 0x28
push str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
lea esi, [esp + 0x60]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], edi
mov word [esp + 0x64], di
call fcn.004028c0
mov byte [esp + 0x80], 2
call fcn.00438450
mov edx, esi
mov ecx, eax
call fcn.00409ca0
mov byte [esp + 0x80], 1
cmp dword [esp + 0x70], 8
mov esi, eax
jb 0x461afd
mov eax, dword [esp + 0x5c]
push eax
call fcn.00493b60
add esp, 4
cmp esi, edi
je 0x461b38
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x4f0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
push 1
push edi
push edi
push edi
push esi
push edi
call eax
call fcn.00438450
mov eax, dword [eax]
push esi
call fcn.00410150
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x34]
lea ebx, [eax + 8]
push edx
call fcn.004123a0
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
cmp esi, eax
mov dword [esp + 0x14], 6
jbe 0x461b55
call fcn.0049458d
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], esi
lea esp, [esp]
cmp dword [esp + 0x4c], eax
mov edi, eax
jbe 0x461b71
call fcn.0049458d
mov eax, dword [esp + 0x50]
cmp esi, edi
je 0x461c4d
cmp dword [esp + 0x14], 0x1e
je 0x461c4d
cmp esi, eax
jb 0x461b8d
call fcn.0049458d
mov esi, dword [esi]
cmp dword [esi + 0x48], 0
je 0x461c4d
lea ebx, [esi + 8]
lea eax, [esp + 0x30]
call fcn.00465990
mov edi, eax
lea eax, [esp + 0x30]
call fcn.00413240
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edi
mov ecx, edx
push ecx
push eax
push edx
lea edi, [esp + 0x38]
call fcn.00465f20
add esp, 0x14
cmp dword [esp + 0x24], 0
jne 0x461c2c
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x4e8]
add dword [esp + 0x14], 1
push 1
mov edi, dword [ecx]
push 0
push 0
push 0
push eax
mov eax, 0x88888889
imul dword [esp + 0x28]
add edx, dword [esp + 0x28]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [edi + 0x74]
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004123a0
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x20], eax
jb 0x461c3f
call fcn.0049458d
mov eax, dword [esp + 0x50]
add dword [esp + 0x20], 4
mov esi, dword [esp + 0x20]
jmp 0x461b60
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x4f0]
mov esi, dword [eax + 0x20]
test esi, esi
je 0x461cc3
cmp dword [esi + 0xc], 0
lea ebx, [eax + 4]
je 0x461c76
mov edx, dword [esi + 8]
push 1
push ebx
push edx
call dword [0x4cf4a4]
jmp 0x461cc3
cmp dword [esi], 0
je 0x461cc3
mov eax, dword [esi + 8]
push eax
call dword [0x4cf504]
test ebx, ebx
mov edi, eax
je 0x461ca9
push ebx
call dword [0x4cf09c]
push eax
push edi
mov dword [esp + 0x2c], eax
call dword [0x4cf0a0]
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x4cf0d8]
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
push ebx
push edi
call eax
mov ecx, dword [esi + 8]
push edi
push ecx
call dword [0x4cf4c4]
mov edi, dword [esp + 0x18]
mov ebx, dword [edi + 0x4e8]
mov esi, dword [ebx + 0x20]
test esi, esi
je 0x461d35
add ebx, 4
cmp dword [esi + 0xc], 0
je 0x461ce8
mov edx, dword [esi + 8]
push 1
push ebx
push edx
call dword [0x4cf4a4]
jmp 0x461d35
cmp dword [esi], 0
je 0x461d35
mov eax, dword [esi + 8]
push eax
call dword [0x4cf504]
test ebx, ebx
mov edi, eax
je 0x461d1b
push ebx
call dword [0x4cf09c]
push eax
push edi
mov dword [esp + 0x2c], eax
call dword [0x4cf0a0]
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x4cf0d8]
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
push ebx
push edi
call eax
mov ecx, dword [esi + 8]
push edi
push ecx
call dword [0x4cf4c4]
mov edi, dword [esp + 0x18]
mov esi, dword [edi + 0x4e8]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
mov ecx, esi
call eax
cmp dword [esi + 0xe8], eax
je 0x461d6d
mov edx, dword [esi]
mov eax, dword [edx + 0x90]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
mov ecx, esi
call eax
mov dword [esi + 0xe8], eax
mov ecx, dword [0x500690]
mov edx, dword [ecx + 4]
xor esi, esi
push esi
push esi
push 0x7ef
push edx
call dword [0x4cf5e4]
mov eax, dword [esp + 0x4c]
cmp eax, esi
mov dword [edi + 0xbc], esi
je 0x461d9d
push eax
call fcn.00493b60
add esp, 4
lea eax, [esp + 0x30]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x80], 0xffffffff
call fcn.00412a90
xor edi, edi
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xb4]
push edi
push edi
push 0x7f5
push ecx
call dword [0x4cf5e4]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc