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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483c2e
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4c058c]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x4c058c]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
mov edi, 7
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], vtable.NGLogging::CLogFunction.0
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], ax
mov dword [esp + 0x140], ebx
xor ecx, ecx
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], cx
mov byte [esp + 0x140], 1
xor edx, edx
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], dx
mov byte [esp + 0x140], 2
mov eax, dword [esp + 0x64]
mov ecx, 8
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], ebx
cmp dword [esp + 0x78], ecx
jae 0x414035
lea eax, [esp + 0x64]
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x98], ebx
cmp dword [esp + 0x9c], ecx
jae 0x414058
lea eax, [esp + 0x88]
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xb4], ebx
cmp dword [esp + 0xb8], ecx
jae 0x41407b
lea eax, [esp + 0xa4]
mov edx, dword [0x4c2800]
push ebx
push ebx
push ebx
xor ecx, ecx
push str.NGEWSProxy::CEWSProxyMediator::Init
mov word [eax], cx
push 0x4c5190
mov byte [esp + 0x98], cl
push edx
mov ecx, 0x7f
lea edx, [esp + 0x54]
call fcn.0041f106
add esp, 0x18
mov dword [esp + 0x140], 3
cmp dword [esi + 0x32c], ebx
jne 0x41436b
call fcn.00417de0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
call edx
push eax
lea ecx, [esp + 0xc8]
call fcn.004261f7
mov byte [esp + 0x140], 4
xor eax, eax
mov word [esp + 0x20], ax
push 3
mov eax, 0x494620
lea esi, [esp + 0x24]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
call fcn.0040c060
mov byte [esp + 0x140], 5
mov eax, dword [esp + 0xcc]
mov edi, dword [eax + 4]
cmp byte [edi + 0x45], 0
mov ecx, eax
mov dword [esp + 0x18], ecx
jne 0x4141a4
cmp dword [esp + 0x34], 8
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x20]
lea eax, [edi + 0xc]
mov dword [esp + 0x14], edx
jae 0x41413f
lea ebx, [esp + 0x20]
mov esi, dword [eax + 0x10]
mov ecx, esi
cmp ecx, esi
jae 0x414148
mov ecx, esi
cmp esi, edx
jb 0x414150
mov ecx, edx
cmp dword [eax + 0x14], 8
jb 0x414158
mov eax, dword [eax]
push ecx
push ebx
push eax
call fcn.00467d1e
add esp, 0xc
test eax, eax
jne 0x41417f
mov eax, dword [esp + 0x14]
cmp esi, eax
jae 0x414174
or eax, 0xffffffff
jmp 0x41417d
xor ecx, ecx
cmp esi, eax
setne cl
mov eax, ecx
test eax, eax
sets al
test al, al
je 0x41418b
mov edi, dword [edi + 8]
jmp 0x414191
mov dword [esp + 0x18], edi
mov edi, dword [edi]
cmp byte [edi + 0x45], 0
je 0x414125
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x14], ecx
cmp ecx, eax
je 0x41420d
mov esi, dword [ecx + 0x1c]
lea eax, [ecx + 0xc]
mov edx, 8
cmp dword [eax + 0x14], edx
jb 0x4141be
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
mov edi, ecx
cmp ecx, esi
jb 0x4141ca
mov ecx, esi
cmp dword [esp + 0x34], edx
mov edx, dword [esp + 0x20]
jae 0x4141d8
lea edx, [esp + 0x20]
push ecx
push eax
push edx
call fcn.00467d1e
add esp, 0xc
cmp eax, ebx
jne 0x4141f9
cmp edi, esi
jae 0x4141f0
or eax, 0xffffffff
jmp 0x4141f7
xor eax, eax
cmp edi, esi
setne al
cmp eax, ebx
setl al
test al, al
mov eax, dword [esp + 0xcc]
jne 0x41420d
lea ecx, [esp + 0x14]
jmp 0x414215
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov ecx, dword [ecx]
cmp ecx, eax
je 0x414236
lea eax, [ecx + 0x28]
mov ecx, dword [esp + 0x1c]
push ebx
push eax
add ecx, 0x220
or eax, 0xffffffff
call fcn.0040c6b0
mov al, 1
jmp 0x414238
xor al, al
test al, al
sete bl
mov byte [esp + 0x140], 4
cmp dword [esp + 0x34], 8
jb 0x414259
mov edx, dword [esp + 0x20]
push edx
call fcn.00463bcc
add esp, 4
xor esi, esi
xor eax, eax
mov edi, 7
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
test bl, bl
je 0x414281
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x328], 0x57
mov byte [esp + 0x140], 3
mov dword [esp + 0xc4], vtable.NGUtils::CCommandLine.0
mov byte [esp + 0x140], 8
mov ebx, 8
cmp dword [esp + 0x124], ebx
jb 0x4142ba
mov edx, dword [esp + 0x110]
push edx
call fcn.00463bcc
add esp, 4
xor eax, eax
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], esi
mov word [esp + 0x110], ax
mov byte [esp + 0x140], 7
cmp dword [esp + 0x108], ebx
jb 0x4142f3
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.00463bcc
add esp, 4
xor edx, edx
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], esi
mov word [esp + 0xf4], dx
mov byte [esp + 0x140], 6
cmp dword [esp + 0xec], ebx
jb 0x41432c
mov eax, dword [esp + 0xd8]
push eax
call fcn.00463bcc
add esp, 4
xor ecx, ecx
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], esi
mov word [esp + 0xd8], cx
mov byte [esp + 0x140], 3
lea edx, [esp + 0xc8]
mov dword [esp + 0x14], edx
mov byte [esp + 0x140], 3
mov eax, edx
push eax
call fcn.004265b4
mov esi, dword [esp + 0x1c]
mov esi, dword [esi + 0x32c]
mov dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.0041f230
mov eax, esi
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00463bd7
mov esp, ebp
pop ebp
ret