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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x86eb82
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xfc4]
mov ecx, dword [esi + 0xfe4]
cmp eax, ecx
jl 0x51c135
mov eax, dword [esp + 0xf0]
mov dword [eax], 3
xor eax, eax
jmp 0x51c6e5
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xe4]
xor ebp, ebp
push edx
mov dword [ecx], ebp
lea ecx, [esp + 0x14]
call fcn.00831f5f
mov dword [esp + 0xd8], ebp
mov dword [esp + 0x24], 0x89adc8
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov edx, dword [esp + 0xe8]
lea eax, [esp + 0x24]
lea ecx, [esi + 0x100c]
push eax
push edx
mov byte [esp + 0xe0], 1
mov dword [esp + 0x8c], ecx
call fcn.0058d280
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x14], eax
jle 0x51c2d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push ecx
mov edi, dword [eax + ebx*4]
mov edx, dword [edi + 8]
push edx
call fcn.005fc4b7
add esp, 8
cmp eax, ebp
jne 0x51c1c6
cmp dword [edi + 4], ebp
jne 0x51c1d4
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x51c1a5
jmp 0x51c2d0
mov eax, dword [esp + 0xec]
cmp eax, 3
ja case.default.0x51c1e4
jmp dword [eax*4 + 0x51c700]
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x24], 0x89adc8
mov dword [eax], 1
mov eax, dword [esp + 0x28]
mov byte [esp + 0xd8], 2
cmp eax, ebp
je 0x51c6cf
jmp 0x51c6c6
mov ebx, dword [edi + 4]
mov ecx, dword [esp + 0xe0]
push ecx
push 0x932a7c
lea edx, [ebx + 0x18]
push edx
call fcn.00826097
mov ecx, dword [esp + 0xec]
lea eax, [esp + 0x60]
push eax
push ecx
call fcn.005fc8a8
add esp, 0x14
cmp eax, ebp
jne case.default.0x51c1e4
mov eax, dword [esp + 0x6c]
mov ecx, dword [esi + 0x1058]
mov edx, dword [esp + 0x70]
add ecx, eax
mov dword [esi + 0x1058], ecx
mov ecx, dword [esi + 0x105c]
adc ecx, edx
mov dword [esi + 0x105c], ecx
mov ecx, dword [ebx + 0x10]
mov edx, dword [esi + 0x1058]
sub edx, ecx
mov dword [esi + 0x1058], edx
mov edx, dword [ebx + 0x14]
mov ecx, dword [esi + 0x105c]
sbb ecx, edx
lea edx, [esp + 0x14]
mov dword [esi + 0x105c], ecx
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x70]
push edx
mov dword [ebx + 0x14], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x8c]
call fcn.005f1535
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], ecx
cmp edi, ebp
jne 0x51c6ae
mov eax, dword [0x98b454]
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xd8], 9
call fcn.00831e73
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
call fcn.00831e73
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x54]
push eax
push 0x932a7c
push ecx
mov byte [esp + 0xe4], 0xa
call fcn.00826097
mov edi, dword [esp + 0xec]
add esp, 0xc
lea edx, [esp + 0x64]
push edi
push 0x932a7c
push edx
call fcn.00826097
lea eax, [esp + 0xac]
push eax
push edi
call fcn.005fc8a8
add esp, 0x14
cmp eax, ebp
jne 0x51c3ce
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x60], edx
push ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x18], eax
call fcn.005f1535
mov ecx, dword [esp + 0x5c]
mov edi, dword [esi + 0x1058]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
add edi, ecx
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esi + 0x1058], edi
mov eax, dword [esi + 0x105c]
adc eax, edx
mov dword [esi + 0x105c], eax
mov eax, dword [esi + 0xfc8]
mov ebx, dword [esi + 0xfc0]
cmp eax, ebp
jne 0x51c41d
mov eax, dword [esi + 0xfd0]
push 0x30
lea ecx, [esi + 0xfcc]
push eax
push ecx
call fcn.0082b3f5
mov ecx, dword [esi + 0xfd0]
lea edx, [ecx + ecx*2]
shl edx, 4
dec ecx
cmp ecx, ebp
lea eax, [edx + eax - 0x2c]
jl 0x51c41d
inc ecx
mov edx, dword [esi + 0xfc8]
mov dword [eax], edx
mov dword [esi + 0xfc8], eax
sub eax, 0x30
dec ecx
jne 0x51c409
mov edi, dword [esi + 0xfc8]
push 1
mov eax, dword [edi]
mov dword [esi + 0xfc8], eax
mov dword [edi + 4], ebx
mov dword [edi], ebp
mov edx, dword [esi + 0xfc4]
lea ebx, [edi + 8]
inc edx
push ebx
mov dword [esi + 0xfc4], edx
call fcn.0051ebd0
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call fcn.0051d1b0
mov eax, dword [esi + 0xfc0]
cmp eax, ebp
je 0x51c5c4
mov dword [eax], edi
jmp 0x51c5ca
push 0x9b5220
lea ecx, [esp + 0x1c]
xor edi, edi
call fcn.00831f5f
push 0x9b5220
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], 3
call fcn.00831f5f
push 0x2e
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 4
call fcn.00825d01
mov ebx, eax
cmp ebx, ebp
jle 0x51c510
lea edx, [esp + 0x20]
push ebx
push edx
lea ecx, [esp + 0x18]
call fcn.00825b00
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], 5
call fcn.00832032
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 4
call fcn.00831eeb
lea eax, [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00825c35
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 6
push ecx
lea ecx, [esp + 0x14]
call fcn.00832032
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 4
call fcn.00831eeb
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc edi
push edx
push edi
push eax
lea ecx, [esp + 0x24]
push 0x958bac
push ecx
call fcn.00826097
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0xfc]
add esp, 0x14
mov ecx, esi
push edx
push eax
call fcn.0051de50
test eax, eax
je 0x51c510
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00832032
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 3
call fcn.00831eeb
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 1
call fcn.00831eeb
jmp 0x51c2d0
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x24], 0x89adc8
mov dword [edx], 2
mov eax, dword [esp + 0x28]
mov byte [esp + 0xd8], 7
cmp eax, ebp
je 0x51c5a9
push eax
call fcn.008325dd
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00831eeb
xor eax, eax
jmp 0x51c6e5
mov dword [esi + 0xfbc], edi
mov dword [esi + 0xfc0], edi
mov edx, dword [0x98b454]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x40]
mov byte [esp + 0xd8], 0xb
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call fcn.00831e73
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x40]
push eax
push 0x932a7c
push ecx
mov byte [esp + 0xe4], 0xc
mov dword [esp + 0x48], edi
call fcn.00826097
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov esi, esp
lea ecx, [esp + 0x5c]
mov dword [esp + 0x3c], esp
push ecx
mov dword [esi], edx
mov eax, dword [esp + 0x5c]
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.00831c58
mov edx, dword [esp + 0x60]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x64]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x104]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
push eax
mov dword [esi + 0x18], edx
call fcn.0058c5f0
mov edi, eax
lea ecx, [esp + 0x40]
mov dword [ebx + 0x24], edi
mov byte [esp + 0xd8], 0xa
call fcn.00831eeb
lea ecx, [esp + 0x64]
mov byte [esp + 0xd8], 0xd
call fcn.00831eeb
lea ecx, [esp + 0x54]
mov byte [esp + 0xd8], 1
call fcn.00831eeb
mov dword [esp + 0x24], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x28]
mov byte [esp + 0xd8], 0xe
cmp eax, ebp
je 0x51c6cf
push eax
call fcn.008325dd
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00831eeb
mov eax, edi
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret 0x14