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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d92d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x45c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x64], edi
mov edx, dword [edi]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x60], ebx
test edx, edx
je 0x40e362
mov eax, dword [edx]
push edx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4502ac]
call esi
mov dword [edi], 0
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40e380
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4502ac]
call esi
mov dword [edi + 8], 0
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x40e39e
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4502ac]
call esi
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x90]
lea ecx, [edi + 0x78]
mov dword [ecx], 0
xor edx, edx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x1c], 0
mov word [eax], dx
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x28], edx
lea edx, [edi + 0x18]
mov dword [ebp - 0x80], ecx
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov byte [edi + 0x10], cl
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xdc], ecx
lea ecx, [ebp - 0x48]
mov dword [edi + 0x84], 0xffffffff
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
call fcn.00423230
push 8
mov dword [ebp - 4], 0
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x3c], eax
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 3
mov word [eax], cx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x40e474
mov edx, dword [ebp - 0x48]
lea eax, [edx + ecx*2]
lea ebx, [ebx]
sub eax, 2
cmp word [eax], 0x2e
je 0x40e45f
cmp eax, edx
jne 0x40e450
jmp 0x40e474
sub eax, edx
sar eax, 1
js 0x40e474
add edx, 2
lea ecx, [ebp - 0x3c]
lea eax, [edx + eax*2]
push eax
call fcn.004217a0
xor eax, eax
xor edx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
xor edi, edi
mov eax, dword [ebx]
mov dword [ebp - 0x4c], edi
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40e4a6
push eax
call fcn.00449b46
mov edi, eax
add esp, 4
mov dword [ebp - 0x4c], edi
xor edx, edx
mov byte [ebp - 4], 3
xor ecx, ecx
mov eax, dword [ebx]
cmp dword [eax + 0xc], ecx
jbe 0x40e4bf
mov byte [ecx + edi], 0
inc ecx
mov eax, dword [ebx]
cmp ecx, dword [eax + 0xc]
jb 0x40e4b3
cmp byte [ebx + 0x1e], 0
je 0x40e4d3
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x7c], ecx
jmp 0x40e4e1
mov dword [ebp - 0x78], 0x800000
mov dword [ebp - 0x7c], 0
mov esi, dword [ebx + 8]
mov dword [ebp - 0x20], esi
test esi, esi
js 0x40e51b
lea ecx, [ebp - 0x1c]
call fcn.00403240
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], 1
lea ebx, [eax + 1]
mov dword [ecx + eax*4], esi
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], ebx
add eax, 0x30
mov dword [ebp - 0x18], ebx
mov byte [esi + edi], 1
jmp 0x40e67a
mov esi, dword [ebp - 0x60]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], ebx
cmp dword [eax + 0xc], ecx
jbe 0x40e642
mov eax, dword [eax + 8]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], ecx
cmp byte [eax + 0x17], 0
jne 0x40e549
cmp byte [esi + 0x19], 0
jne 0x40e55e
mov ecx, dword [ecx + 0x10]
mov edx, str.Split
call fcn.004215a0
test al, al
jne 0x40e62d
mov eax, dword [esi + 0x2c]
xor esi, esi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x40e58e
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
nop
lea eax, [esi + ecx]
shr eax, 1
cmp ebx, dword [edx + eax*4]
je 0x40e62a
jge 0x40e584
mov ecx, eax
jmp 0x40e587
lea esi, [eax + 1]
mov edx, dword [ebp - 0x24]
cmp esi, ecx
jne 0x40e570
mov eax, dword [ebp - 0x74]
xor esi, esi
cmp dword [eax + 0x20], esi
jbe 0x40e5bd
jmp 0x40e5a0
mov eax, dword [eax + 0x1c]
lea ecx, [ebp - 0x3c]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.00409910
test al, al
jne 0x40e5dc
mov eax, dword [ebp - 0x74]
inc esi
cmp esi, dword [eax + 0x20]
jb 0x40e5a0
lea ecx, [ebp - 0x1c]
call fcn.00403240
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x60]
lea edx, [eax + 1]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x18], edx
mov dword [ecx + eax*4], ebx
jmp 0x40e630
test esi, esi
js 0x40e5bd
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x1c]
mov esi, eax
inc eax
mov dword [ebp - 0x68], eax
call fcn.00403240
mov eax, dword [ebp - 0x1c]
lea ebx, [eax + esi*4]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
sub eax, esi
shl eax, 2
push eax
lea eax, [ebx + 4]
push ebx
push eax
call sub.msvcrt.dll_memmove
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov edx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
inc edx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x18], edx
mov byte [ebx + edi], 1
jmp 0x40e630
mov esi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov eax, dword [esi]
inc ebx
mov dword [ebp - 0x6c], ebx
cmp ebx, dword [eax + 0xc]
jb 0x40e531
mov ecx, dword [ebp - 0x68]
cmp dword [esi + 0x30], 0
lea eax, [esi + 0x30]
mov dword [ebp - 0x68], eax
jne 0x40e66d
cmp ecx, 1
je 0x40e662
mov dword [ebp - 0x70], 0x80004001
mov ebx, dword [ebp - 0x70]
jmp 0x40e901
mov edx, 1
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x18], edx
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], edx
test ecx, ecx
je 0x40e67d
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], eax
mov esi, dword [ebp - 0x68]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov esi, dword [esi]
test esi, esi
je 0x40e6b5
mov ecx, esi
call fcn.00424cd0
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x40e65a
lea edx, [ebp - 0x30]
mov ecx, esi
call fcn.00424d00
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x40e65a
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x60]
mov dword [edx + 0x68], eax
mov dword [edx + 0x6c], ecx
cmp byte [esi + 0x19], 0
je 0x40e8f3
cmp dword [ebp - 0x20], 0
jl 0x40e6d7
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x5c], ebx
xor eax, eax
mov dword [ebp - 0x74], eax
test ebx, ebx
je 0x40e8f3
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*4]
mov dword [edx + 0x3c], eax
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x40e718
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x30]
push eax
push 0
push ecx
mov ecx, esi
call dword [0x4502ac]
call esi
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x40e65a
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
test ecx, ecx
je 0x40e731
call fcn.00424cd0
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x40e65a
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
mov ecx, dword [esi]
push eax
mov eax, dword [ebp - 0x64]
push dword [eax + 0x3c]
call fcn.0040d4c0
mov esi, dword [ebp - 0x24]
mov ebx, eax
test ebx, ebx
jne 0x40e8d9
test esi, esi
jne 0x40e763
jmp 0x40e878
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
test ecx, ecx
je 0x40e797
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x54], eax
mov eax, dword [esi]
push dword [edx + 0x38]
mov ebx, dword [eax + 0xc]
lea eax, [ebp - 0x58]
push eax
push ecx
push esi
mov ecx, ebx
call dword [0x4502ac]
call ebx
mov ebx, eax
jmp 0x40e802
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 7
mov eax, dword [esi]
mov ebx, dword [eax]
lea eax, [ebp - 0x20]
push eax
push 0x4516d4
push esi
mov ecx, ebx
call dword [0x4502ac]
call ebx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40e8d4
mov edx, dword [ebp - 0x60]
mov ecx, dword [eax]
push dword [edx + 0x34]
mov ebx, dword [ecx + 0xc]
mov ecx, ebx
push eax
call dword [0x4502ac]
call ebx
mov ebx, eax
mov dword [ebp - 0x70], ebx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40e7fe
mov ecx, dword [eax]
push eax
mov ebx, dword [ecx + 8]
mov ecx, ebx
call dword [0x4502ac]
call ebx
mov ebx, dword [ebp - 0x70]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x64]
push ebx
sub esp, 8
push esi
call fcn.0040dee0
test eax, eax
jne 0x40e8d0
cmp ebx, 1
jne 0x40e89a
mov edx, dword [ebp - 0x80]
cmp byte [edx + 3], al
je 0x40e831
test byte [edx + 4], bl
jne 0x40e831
mov bl, bl
jmp 0x40e833
xor bl, bl
cmp dword [ebp - 0x74], 0
jne 0x40e864
cmp dword [ebp - 0x6c], 1
jne 0x40e864
mov ecx, dword [ebp - 0x64]
push edx
mov eax, dword [ecx + 0x3c]
mov dword [ecx + 0x84], eax
add ecx, 0xa8
call fcn.0040e950
mov eax, dword [ebp - 0x60]
cmp byte [eax + 0x1a], 0
jne 0x40e864
test bl, bl
jne 0x40e893
mov byte [ebp - 4], 0xe
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4502ac]
call esi
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x64]
inc eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x74], eax
cmp eax, dword [ebp - 0x5c]
jae 0x40e8f3
mov esi, dword [ebp - 0x60]
jmp 0x40e6e4
mov ebx, 1
jmp 0x40e8d9
test ebx, ebx
jne 0x40e8d9
mov eax, dword [esi]
push esi
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x4502ac]
call ebx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
test ecx, ecx
je 0x40e8ca
mov eax, dword [ecx]
push ecx
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [0x4502ac]
call ebx
mov eax, dword [ebp - 0x64]
mov dword [eax], esi
xor ebx, ebx
jmp 0x40e8d9
mov ebx, eax
jmp 0x40e8d9
mov ebx, 0x80004001
mov byte [ebp - 4], 0x10
test esi, esi
je 0x40e901
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4502ac]
call esi
jmp 0x40e901
cmp dword [edx], 0
jne 0x40e8ff
mov ebx, 1
jmp 0x40e901
xor ebx, ebx
push edi
call fcn.00449b03
add esp, 4
push dword [ebp - 0x1c]
call fcn.00449b03
add esp, 4
push dword [ebp - 0x3c]
call fcn.00449b03
add esp, 4
push dword [ebp - 0x48]
call fcn.00449b03
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449a40
mov esp, ebp
pop ebp
ret 4