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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c4
mov eax, dword [0x46c340]
xor eax, esp
mov dword [esp + 0x1c0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], edi
call fcn.00419fb8
lea ecx, [esp + 0x60]
call fcn.00417cd8
push edi
call fcn.00418888
add esp, 4
lea ebx, [esp + 0x10]
call fcn.00418718
mov edi, dword [esp + 0x10]
xor esi, esi
cmp edi, esi
je 0x418f47
cmp edi, 0xffffffff
jne 0x418f5f
push esi
push 0x45fbb8
push 0x45fc18
push esi
call dword [fcn.00459368]
push edi
jmp 0x4195b3
call fcn.00418788
push 0xf
push 0x45fc4c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], esi
mov byte [esp + 0x20], 0
call fcn.0041a378
push esi
lea eax, [esp + 0x84]
push eax
mov ecx, 0x146
lea edx, [esp + 0x1c]
call fcn.00436a08
push 0x45fc34
push ecx
add eax, 0x28
push 0x45fc40
push eax
call fcn.0041b778
add esp, 0xc
push eax
call fcn.0041b778
add esp, 8
lea ecx, [esp + 0x80]
call fcn.00436c98
cmp dword [esp + 0x2c], 0x10
jb 0x418fdc
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044849d
add esp, 4
lea eax, [esp + 0x3c]
xor edx, edx
push eax
lea edi, [esp + 0x64]
mov dword [esp + 0x144], 7
mov dword [esp + 0x140], esi
mov word [esp + 0x130], dx
call fcn.00419ae8
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x78]
cmp edi, esi
je 0x419018
cmp edi, dword [esp + 0x60]
je 0x41901d
call fcn.00448da5
mov esi, dword [esp + 0x40]
cmp esi, ebx
je 0x41904f
test edi, edi
jne 0x4190b7
call fcn.00448da5
cmp esi, dword [edi + 0x18]
jne 0x41903c
call fcn.00448da5
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x10]
lea ecx, [esp + 0x130]
call fcn.00419ec8
xor esi, esi
cmp dword [esp + 0x13c], esi
jne 0x4190be
push esi
push 0x45fbb8
push 0x45fc5c
push esi
call dword [fcn.00459368]
cmp dword [esp + 0x140], 8
jb 0x419086
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.0044849d
add esp, 4
mov eax, dword [esp + 0x10]
xor edx, edx
push eax
mov dword [esp + 0x144], 7
mov dword [esp + 0x140], esi
mov word [esp + 0x130], dx
call dword [fcn.004590a4]
lea ecx, [esp + 0x60]
push ecx
jmp 0x4195be
mov edi, dword [edi]
jmp 0x419032
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x128]
push edx
push eax
lea ecx, [esp + 0x168]
push ecx
call fcn.0041c248
push 0xf
push 0x45fc4c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], esi
mov byte [esp + 0x20], 0
call fcn.0041a378
push esi
lea edx, [esp + 0x84]
push edx
mov ecx, 0x157
lea edx, [esp + 0x1c]
call fcn.00436a08
mov ebx, eax
lea esi, [esp + 0x44]
lea eax, [esp + 0x160]
call fcn.0041c958
push 0x45fc84
add ebx, 0x28
push ebx
mov edi, eax
call fcn.0041b778
push eax
call fcn.00436818
add esp, 0xc
lea ecx, [esp + 0x80]
call fcn.00436c98
mov ebx, 8
cmp dword [esp + 0x5c], ebx
jb 0x41915f
mov eax, dword [esp + 0x48]
push eax
call fcn.0044849d
add esp, 4
xor edi, edi
xor ecx, ecx
cmp dword [esp + 0x2c], 0x10
mov esi, 7
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], edi
mov word [esp + 0x48], cx
jb 0x419189
mov edx, dword [esp + 0x18]
push edx
call fcn.0044849d
add esp, 4
xor eax, eax
mov word [esp + 0x148], ax
mov eax, dword [esp + 0x30]
mov ecx, eax
mov dword [esp + 0x15c], esi
mov dword [esp + 0x158], edi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x4191aa
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x148]
call fcn.0041a798
mov ecx, esi
mov esi, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00418d78
add esp, 4
cmp dword [esp + 0x15c], ebx
jb 0x419253
mov eax, dword [esp + 0x148]
cmp eax, edi
je 0x4191f6
cmp word [eax], di
je 0x4191f6
push eax
call fcn.00439ca8
push esi
lea ebx, [esp + 0x38]
call fcn.0041cdd8
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x38]
push 0x45fb98
mov dword [edx + 0xc], eax
call fcn.0041c6c8
add esp, 4
xor ebx, ebx
test al, al
je 0x419233
push ebx
push 0x45fbb8
push 0x45fbd0
push ebx
call dword [fcn.00459368]
push 0x45fc98
lea edi, [esp + 0x48]
call fcn.0041c528
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x41925c
mov eax, dword [eax + 4]
jmp 0x41925f
lea eax, [esp + 0x148]
jmp 0x4191eb
add eax, 4
push eax
call fcn.00448939
add esp, 4
mov dword [esp + 0xc], eax
cmp dword [esp + 0x5c], esi
jb 0x41927f
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0044849d
add esp, 4
lea edx, [esp + 0xc]
push edx
call fcn.00418a98
mov esi, dword [esp + 0x10]
mov edi, 1
add esp, 4
cmp esi, edi
jne 0x4192bc
push 0x70
call fcn.00448558
add esp, 4
cmp eax, ebx
je 0x4192b4
mov esi, eax
call fcn.00424fc8
mov dword [esp + 0xc], eax
jmp 0x4192ee
xor eax, eax
mov dword [esp + 0xc], eax
jmp 0x4192ee
push 0x84
call fcn.00448558
add esp, 4
cmp eax, ebx
je 0x4192ea
cmp esi, 2
sete cl
movzx edx, cl
push edx
push eax
call fcn.00425fe8
cmp eax, ebx
je 0x4192ea
add eax, 4
mov dword [esp + 0xc], eax
jmp 0x4192ee
mov dword [esp + 0xc], ebx
test byte [0x4700d4], 1
jne 0x419320
or dword [0x4700d4], edi
push 0x458790
mov dword [0x46fc78], 0x461570
mov dword [0x470034], ebx
mov dword [0x470038], ebx
call fcn.00448c31
add esp, 4
test byte [0x4700d4], 1
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x38]
mov dword [0x470038], eax
jne 0x41935f
or dword [0x4700d4], edi
push 0x458790
mov dword [0x46fc78], 0x461570
mov dword [0x470034], ebx
mov dword [0x470038], ebx
call fcn.00448c31
add esp, 4
push esi
mov esi, 0x46fc78
call fcn.00432ec8
test byte [0x4700d8], 1
jne 0x41938c
or dword [0x4700d8], edi
push 0x458770
mov dword [0x47003c], ebx
call fcn.00448c31
add esp, 4
mov edi, 0x47003c
call fcn.0041d7d8
test byte [0x4700d8], 1
jne 0x4193b9
or dword [0x4700d8], 1
push 0x458770
mov dword [0x47003c], ebx
call fcn.00448c31
add esp, 4
push 0x10
call fcn.00448558
add esp, 4
cmp eax, ebx
je 0x4193dc
mov dword [eax], 0x45ff30
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], 0x4099f0
jmp 0x4193de
xor eax, eax
mov ecx, dword [0x47003c]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x164]
cmp ecx, ebx
je 0x41940d
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
test byte [0x4700d8], 1
jne 0x419430
or dword [0x4700d8], 1
push 0x458770
mov dword [0x47003c], ebx
call fcn.00448c31
add esp, 4
mov esi, dword [0x47003c]
cmp esi, ebx
je 0x41943f
call fcn.004398c8
call fcn.0043fa48
mov ebx, eax
call fcn.004410f8
call fcn.0043fa48
mov esi, eax
call fcn.00440168
mov esi, dword [esp + 0xc]
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
xor ebx, ebx
test byte [0x4700d4], 1
jne 0x419499
or dword [0x4700d4], 1
push 0x458790
mov dword [0x46fc78], 0x461570
mov dword [0x470034], ebx
mov dword [0x470038], ebx
call fcn.00448c31
add esp, 4
push 0x46fc7c
push 2
call dword [0x459268]
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 1
mov ecx, esi
call eax
push 0xf
push 0x45fc4c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.0041a378
push ebx
lea ecx, [esp + 0x84]
push ecx
mov ecx, 0x188
lea edx, [esp + 0x1c]
call fcn.00436a08
push 0x45fcb8
push ecx
add eax, 0x28
push 0x45fc40
push eax
call fcn.0041b778
add esp, 0xc
push eax
call fcn.0041b778
add esp, 8
lea ecx, [esp + 0x80]
call fcn.00436c98
cmp dword [esp + 0x2c], 0x10
jb 0x419528
mov edx, dword [esp + 0x18]
push edx
call fcn.0044849d
add esp, 4
mov esi, 8
mov dword [esp + 0x34], 0x45fda0
mov dword [0x46fc2c], ebx
cmp dword [esp + 0x15c], esi
jb 0x419554
mov eax, dword [esp + 0x148]
push eax
call fcn.0044849d
add esp, 4
xor ecx, ecx
mov word [esp + 0x148], cx
mov edi, 7
lea ecx, [esp + 0x160]
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebx
call fcn.0041c438
cmp dword [esp + 0x140], esi
jb 0x419596
mov edx, dword [esp + 0x12c]
push edx
call fcn.0044849d
add esp, 4
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebx
mov word [esp + 0x12c], ax
push ecx
call dword [fcn.004590a4]
lea edx, [esp + 0x60]
push edx
call fcn.004195e8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004484a8
mov esp, ebp
pop ebp
ret 0x10