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

Disassembly:
push 0xffffffffffffffff
push 0x447f91
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x45fce8]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45fce8]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov edi, dword [esp + 0x188]
call fcn.0040e750
mov esi, eax
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, esi
cmp eax, 0x1388
jbe 0x40e8f4
call fcn.0040e670
xor al, al
jmp 0x40eaf7
call fcn.0040e670
mov eax, dword [edi + 0x14]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
mov byte [esp + 0x18], 0xc
mov byte [esp + 0x19], 7
mov byte [esp + 0x1a], 3
mov byte [esp + 0x1b], 0x13
jbe 0x40e94b
cmp esi, eax
lea ebp, [edi + 4]
jbe 0x40e924
call fcn.0042fd58
cmp dword [edi + 0x18], 0x10
jb 0x40e92f
mov eax, dword [ebp]
jmp 0x40e931
mov eax, ebp
mov ecx, esi
and ecx, 3
mov dl, byte [esp + ecx + 0x18]
add dl, byte [eax + esi]
mov eax, dword [edi + 0x14]
mov byte [esp + esi + 0x74], dl
add esi, 1
cmp esi, eax
jb 0x40e924
mov eax, dword [edi + 0x14]
mov byte [esp + eax + 0x74], bl
and eax, 3
movzx esi, byte [esp + eax + 0x18]
xor esi, dword [edi + 0x1c]
mov edi, 0xf
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
push 0x1d
push str.SOFTWAREWebzenMuConnection
lea ecx, [esp + 0x24]
mov dword [esp + 0x188], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00401380
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x18c], 1
mov dword [esp + 0x60], reloc.OLEAUT32.dll_SysReAllocString
call fcn.004012a0
mov ebp, 0x10
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x180], bl
jb 0x40e9d1
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00413b82
add esp, 4
lea eax, [esp + 0x74]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40e9e4
sub eax, edx
push eax
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x40]
call fcn.00401380
push 0xa
push str.ParameterA
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 2
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00401380
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0040e460
test al, al
sete byte [esp + 0x17]
cmp dword [esp + 0x34], ebp
jb 0x40ea4f
mov edx, dword [esp + 0x20]
push edx
call fcn.00413b82
add esp, 4
cmp dword [esp + 0x50], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x180], bl
jb 0x40ea75
mov eax, dword [esp + 0x3c]
push eax
call fcn.00413b82
add esp, 4
cmp byte [esp + 0x17], bl
je 0x40ea92
cmp dword [esp + 0x70], ebp
jb 0x40ea8e
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00413b82
add esp, 4
xor al, al
jmp 0x40eaf7
push 0xa
push str.ParameterB
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00401380
push esi
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x5c]
call fcn.0040e3e0
test al, al
sete byte [esp + 0x17]
cmp dword [esp + 0x50], ebp
jb 0x40ead7
mov eax, dword [esp + 0x3c]
push eax
call fcn.00413b82
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x40ea7b
call fcn.0040e530
cmp dword [esp + 0x70], ebp
jb 0x40eaf5
mov edx, dword [esp + 0x5c]
push edx
call fcn.00413b82
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0042fc1f
add esp, 0x170
ret