Function at 0x402ce4
Capabilities:
Inspect section memory permissions
Query environment variable
Resolve function by parsing pe exports
Terminate process

Disassembly:
push 0xac
mov eax, 0x40c2b3
call fcn.0040bffc
mov eax, edx
mov dword [ebp - 0x88], eax
mov ebx, ecx
mov dword [ebp - 0x9c], ebx
xor esi, esi
mov dword [ebp - 0xb8], esi
push 1
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], esi
call fcn.0040a700
lea ecx, [ebp - 0xb8]
call fcn.0040a6fc
mov ecx, 0xc4
cmp eax, ecx
jb 0x4039b7
push esi
push ecx
lea ecx, [ebp - 0xb8]
call fcn.0040a792
xor edx, edx
mov dword [ebx + 0x60], eax
cmp byte [eax + 0x50], dl
setne dl
mov dword [ebx + 0xc], edx
mov ecx, dword [eax]
call fcn.004021e5
cmp eax, 0x504f474f
jne 0x4039b7
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0xc]
mov ecx, dword [ecx + 4]
call fcn.004021e5
cmp eax, 0x14
je 0x402d7e
mov esi, 0x422
jmp 0x4039bc
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0xc]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004021f4
mov esi, dword [ebx + 0x60]
mov dword [ebx + 0x58], eax
add esi, 0x40
cmp dword [ebx + 0xc], 0
lea eax, [ebx + 0x44]
mov edi, eax
mov dword [ebx + 0x5c], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x402db2
push 0x10
push eax
call fcn.0040a570
mov eax, dword [ebx + 4]
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [eax + 0x10], esi
jne 0x402ea1
mov edx, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x8c]
mov eax, dword [edx + 8]
cmp eax, dword [ecx + 8]
je 0x402dde
mov esi, 0x41c
jmp 0x4039bc
cmp dword [edx + 0x64], esi
je 0x402ded
mov esi, 0x41d
jmp 0x4039bc
mov eax, dword [ebx + 0x60]
cmp byte [eax + 0x52], 0
jne 0x402e00
mov esi, 0xbb
jmp 0x4039bc
mov edi, esi
push esi
jmp 0x402e41
cmp dword [edx + 0x20], esi
jne 0x402e0e
mov edi, esi
jmp 0x402e40
cmp dword [edx + 0x20], 3
je 0x402e40
mov eax, dword [edx + 8]
cmp eax, dword [ebx + 0x58]
jne 0x402e40
mov eax, dword [edx + 0xc]
cmp eax, dword [ebx + 0x5c]
jne 0x402e40
mov ecx, esi
mov eax, dword [edx + ecx*4 + 0x10]
cmp eax, dword [ebx + ecx*4 + 0x44]
jne 0x402e40
inc ecx
cmp ecx, 4
jne 0x402e26
mov edi, dword [edx + 0x20]
mov dword [ebp - 0x18], 1
push edx
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov edx, eax
test edx, edx
jne 0x402e05
mov eax, dword [ebx + 4]
cmp dword [eax + 0xc], esi
je 0x402e74
cmp dword [ebp - 0x18], esi
jne 0x402e65
mov esi, 0x41e
jmp 0x4039bc
cmp edi, 2
jne 0x402ea1
mov esi, 0xb6
jmp 0x4039bc
cmp dword [ebp - 0x18], esi
je 0x402ea1
cmp edi, 1
jne 0x402ea1
push 2
lea eax, [ebp - 0x28]
push eax
push 0x401380
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x4039bc
mov esi, 0xb5
jmp 0x4039bc
mov edx, dword [ebx + 0x60]
fld qword [0x401ac0]
fldz
mov edi, dword [edx + 0x58]
test edi, edi
jne 0x402eb7
fld st(0)
jmp 0x402ee8
mov eax, dword [edx + 0xc]
fild dword [edx + 0xc]
test eax, eax
jns 0x402ec7
fadd qword [0x401ad0]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
mov edx, dword [ebx + 0x60]
fmul st(2)
mov edi, dword [edx + 0x58]
fild dword [edx + 0x58]
test edi, edi
jns 0x402ee2
fadd qword [0x401ad0]
fstp qword [ebp - 0x74]
fdiv qword [ebp - 0x74]
mov eax, dword [edx + 0xb4]
mov ecx, dword [edx + 0xb8]
mov dword [ebp - 0x60], eax
or eax, ecx
mov dword [ebp - 0x5c], ecx
jne 0x402f02
fstp st(2)
jmp 0x402f6e
mov eax, dword [edx + 0xbc]
fstp st(1)
mov ecx, dword [edx + 0xc0]
mov dword [ebp - 0x2c], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x28], ecx
fild qword [ebp - 0x2c]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x2c], esi
fild qword [ebp - 0x2c]
fchs
faddp st(1)
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, ecx
fmulp st(2)
and ecx, 0x7fffffff
mov dword [ebp - 0x28], ecx
and eax, 0x80000000
fild qword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
fild qword [ebp - 0x2c]
fchs
faddp st(1)
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fdivp st(2)
fxch st(1)
push ecx
push ecx
fstp qword [esp]
push edi
push dword [edx + 0xc]
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x88]
push 0x2f57
call fcn.0040b1de
push eax
call fcn.0040b56c
mov eax, dword [ebx + 0x60]
add esp, 0x20
movzx eax, word [eax + 0x60]
cmp dword [ebx + 0xc], esi
je 0x402faa
push eax
call fcn.0040a60a
movzx eax, ax
test ax, ax
je 0x402fbc
mov eax, dword [ebx + 0x8c]
or dword [eax + 0x10], 0x20000000
mov eax, dword [ebx + 0x60]
movzx eax, word [eax + 0x62]
cmp dword [ebx + 0xc], esi
je 0x402fd1
push eax
call fcn.0040a60a
movzx eax, ax
test ax, ax
je 0x402fe3
mov eax, dword [ebx + 0x8c]
or dword [eax + 0x10], 0x2000000
push esi
push esi
lea ecx, [ebp - 0xb8]
call fcn.0040a7d5
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.004021e5
push esi
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040a792
mov ecx, ebx
mov dword [ebx + 0x40], eax
call fcn.00402b9a
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x1c]
call fcn.004021e5
mov ecx, dword [ebx + 0x60]
add eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ecx + 0x18]
call fcn.004021e5
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x24]
call fcn.004021e5
mov ecx, dword [ebx + 0x60]
add eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x54], eax
mov ecx, dword [ecx + 0x20]
call fcn.004021e5
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x58], eax
mov ecx, dword [ecx + 0x28]
call fcn.004021e5
mov ecx, dword [ebx + 0x60]
mov edi, eax
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x84], edi
mov ecx, dword [ecx + 0x30]
call fcn.004021e5
mov ecx, dword [ebx + 0x60]
add eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x70], eax
mov ecx, dword [ecx + 0x2c]
call fcn.004021e5
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x98], eax
mov ecx, dword [ecx + 0x34]
call fcn.004021e5
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ecx + 0x3c]
call fcn.004021e5
mov ecx, dword [ebx + 0x40]
add ecx, eax
mov eax, edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
shl eax, 4
push eax
mov dword [ebx + 0x64], ecx
mov dword [ebx + 0x68], ecx
call edi
mov dword [ebx + 0x70], eax
pop ecx
test eax, eax
jne 0x4030ee
push 0x5eb
push 0x4013c0
push 2
call fcn.0040a1c6
mov eax, dword [ebp - 0x8c]
lea eax, [eax*4 + 4]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
push esi
mov dword [ebp - 0x24], eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, eax
mov dword [ebp - 0x64], edx
jmp 0x4038dc
mov ecx, dword [ebx]
push dword [edx]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebx + 4]
mov edi, eax
cmp dword [ecx + 0x44], esi
je 0x40313a
push edi
push 0x2f5d
call fcn.0040b51a
pop ecx
pop ecx
mov edx, dword [ebp - 0x64]
cmp dword [edx + 4], esi
je 0x4038c9
mov ecx, dword [ebx]
push edx
mov eax, dword [ecx]
call dword [eax + 0x64]
mov ecx, dword [ebx]
test eax, eax
mov eax, dword [ecx]
je 0x403990
lea edx, [ebp - 0x68]
push edx
push 9
call dword [eax + 0x20]
mov ecx, dword [ebx]
mov dword [ebp - 0x38], eax
mov edx, dword [ecx]
call dword [edx]
cmp eax, 9
je 0x403949
cmp dword [ebp - 0x38], 0
je 0x40397f
mov ecx, dword [ebx]
lea edx, [ebp - 0x68]
push edx
push 0xa
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebx]
mov dword [ebp - 0x20], eax
mov edx, dword [ecx]
call dword [edx]
cmp eax, 9
je 0x403949
cmp dword [ebp - 0x20], 0
je 0x40396e
mov ecx, dword [ebx]
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x60], eax
push edx
mov eax, dword [ecx]
push 0xb
call dword [eax + 0x20]
mov ecx, dword [ebx]
mov dword [ebx + 0x74], eax
mov eax, dword [ecx]
call dword [eax]
cmp eax, 9
je 0x403949
cmp dword [ebx + 0x74], esi
je 0x40395d
mov ecx, dword [ebx]
lea edx, [ebp - 0x90]
push edx
push 0xc
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebx]
mov dword [ebp - 0x6c], eax
mov edx, dword [ecx]
call dword [edx]
cmp eax, 9
je 0x403949
cmp dword [ebp - 0x6c], 0
je 0x40391d
mov ecx, dword [ebx]
lea edx, [ebx + 0x6c]
push edx
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1dc]
test eax, eax
jne 0x40323f
mov eax, dword [ebx + 4]
push dword [eax + 0x38]
mov eax, dword [sym.imp.pgodb140.dll_PogoDbStreamNames]
push edi
push dword [eax + 0x30]
push 0xa6
push 0x2ee1
call fcn.0040b1de
push eax
call fcn.0040a27c
push dword [ebp - 0x94]
call dword [sym.imp.pgodb140.dll_public:_static_void___stdcall_PogoDbUtil::FreeMemory_void__]
mov edi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
shl edi, 5
add eax, edi
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebx + 0x78], eax
pop ecx
test eax, eax
jne 0x403279
push 0x651
push 0x4013c0
push 2
call fcn.0040a1c6
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebp - 0x80]
mov dword [ebx + 0x7c], eax
add eax, edi
add eax, ecx
mov dword [ebx + 0x34], esi
shr ecx, 4
add ecx, dword [ebp - 0x84]
mov dword [ebx + 0x80], eax
imul eax, ecx, 0x18
push 1
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov dword [ebx + 0x84], eax
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x98]
imul edi, eax, 0xc
mov eax, dword [ebp - 0x90]
add eax, edi
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x78], ecx
test ecx, ecx
jne 0x4032e8
push 0x66e
push 0x4013c0
push 2
call fcn.0040a1c6
mov ecx, dword [ebp - 0x78]
lea eax, [edi + ecx]
mov dword [ebp - 0x1c], esi
add eax, dword [ebp - 0x90]
mov edi, ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x14], edi
mov dword [ebx + 0x18], esi
push esi
jmp 0x40380d
cmp edi, dword [ebp - 0x5c]
jae 0x403821
mov eax, dword [ebx + 4]
cmp dword [eax + 0x44], esi
je 0x403330
mov ecx, dword [ebx]
push dword [edx + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
push 0x40145c
call fcn.0040b56c
mov edx, dword [ebx + 0x18]
pop ecx
pop ecx
mov eax, dword [edx + 0x24]
add eax, dword [ebp - 0x38]
mov dword [ebx + 0x1c], eax
mov eax, dword [edx + 0x24]
add eax, dword [ebp - 0x38]
mov dword [ebx + 0x20], eax
mov eax, dword [edx + 0x28]
add eax, dword [ebp - 0x20]
mov dword [ebx + 0x2c], eax
test byte [edx + 0x14], 1
jne 0x4033b9
mov eax, dword [ebx + 0x8c]
mov ecx, ebx
push dword [ebp - 0x7c]
test dword [eax + 0x10], 0x4000000
je 0x40338f
call fcn.004022f9
push dword [ebx + 0x28]
mov edx, dword [ebp - 0x58]
mov ecx, ebx
push dword [ebp - 0x54]
call fcn.00404df4
push dword [ebx + 0x28]
mov ecx, ebx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.00405158
jmp 0x40380a
call fcn.004023d5
push dword [ebx + 0x24]
mov edx, dword [ebp - 0x58]
mov ecx, ebx
push dword [ebp - 0x54]
call fcn.00404be5
push dword [ebx + 0x24]
mov ecx, ebx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.00404fae
jmp 0x40380a
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x40], esi
lea eax, [ecx + eax*8]
mov edx, dword [eax + 4]
lea ecx, [ebp - 0x40]
push ecx
push edi
mov ecx, ebx
mov dword [ebp - 0x44], eax
call fcn.00402c97
mov eax, dword [ebp - 0x40]
mov dword [edi + eax*4], esi
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x40346a
cdq
sub eax, edx
mov edx, dword [edi]
sar eax, 1
mov ecx, dword [edi + eax*4]
mov dword [edi], ecx
xor ecx, ecx
mov dword [edi + eax*4], edx
mov edi, esi
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x50], eax
mov esi, dword [edx]
add esi, eax
inc ecx
mov ebx, dword [ebp - 0x50]
mov edx, dword [edx + ecx*4]
mov eax, dword [esi]
cmp eax, dword [edx + ebx]
mov ebx, dword [ebp - 0x18]
jbe 0x403433
mov ebx, dword [ebp - 0x24]
inc edi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + edi*4]
mov dword [ebx + edi*4], edx
mov edx, ebx
mov ebx, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
jmp 0x403436
mov edx, dword [ebp - 0x24]
inc ecx
cmp ecx, ebx
jle 0x40340c
mov ecx, dword [edx]
xor esi, esi
mov eax, dword [edx + edi*4]
mov ebx, dword [ebp - 0x9c]
mov dword [edx], eax
lea eax, [edi - 1]
push eax
mov dword [edx + edi*4], ecx
mov ecx, ebx
push esi
call fcn.00402a29
push dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
lea eax, [edi + 1]
push eax
mov ecx, ebx
call fcn.00402a29
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x1c]
imul edi, dword [eax + 0x30], 0xc
mov dword [eax + 0x30], ecx
mov eax, dword [ebx + 0x18]
push 1
mov dword [ebp - 0x30], esi
add edi, dword [ebp - 0x6c]
movzx ecx, word [eax + 0xc]
movzx eax, word [eax + 8]
add ecx, eax
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x40]
shl ecx, 3
inc eax
imul eax, ecx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
inc dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x88], esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], esi
movzx edx, word [ecx + 0x12]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], edx
lea eax, [ecx + 0xc]
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x403502
push dword [ebp - 0x20]
mov eax, edi
add edi, 0xc
mov dword [ebp - 0x34], edi
mov esi, eax
mov edi, ecx
mov dword [ebp - 0x50], eax
dec edx
mov ecx, ebx
mov dword [ebp - 0x48], edx
mov edx, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00402670
mov eax, dword [ebx + 4]
xor esi, esi
cmp dword [eax + 0x44], esi
je 0x40353c
push esi
push 0x2f5e
jmp 0x403535
mov eax, ecx
mov dword [ebp - 0x50], eax
or dword [eax + 8], 0xffffffff
mov dword [eax], 0x80000000
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x18]
movzx ecx, word [eax + 0xc]
movzx eax, word [eax + 8]
add ecx, eax
mov eax, dword [ebx + 4]
shl ecx, 3
mov dword [ebp - 0x18], ecx
cmp dword [eax + 0x44], esi
je 0x40353c
push esi
push 0x2f5f
call fcn.0040b51a
pop ecx
pop ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x40]
jb 0x40355a
cmp dword [ebp - 0x48], 0
je 0x403740
cmp eax, dword [ebp - 0x5c]
jae 0x403740
mov edi, dword [ebp - 0x24]
cmp dword [edi + ecx*4], 0
je 0x4036c7
mov eax, dword [ebx + 0x40]
add eax, dword [edi + ecx*4]
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x3c], eax
mov edi, dword [eax]
je 0x4035cc
mov ecx, dword [edx]
mov eax, ecx
and eax, 0x3fffffff
cmp eax, edi
jb 0x4036c7
ja 0x4035c9
mov eax, dword [ebx + 4]
cmp dword [eax + 0x44], esi
je 0x4035b1
push edi
push 0x2f60
call fcn.0040b51a
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 4]
pop ecx
pop ecx
mov ecx, dword [edx]
test ecx, ecx
jns 0x403692
cmp dword [eax + 0x44], esi
je 0x4035c9
push 0x2f61
call fcn.0040b51a
pop ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov edx, esi
movzx ecx, word [ecx]
test ecx, ecx
je 0x403683
add eax, 0x10
cmp dword [eax + 4], esi
ja 0x4035e8
cmp dword [eax], esi
jbe 0x4035eb
xor edx, edx
inc edx
add eax, 8
sub ecx, 1
jne 0x4035df
test edx, edx
je 0x403683
mov eax, dword [ebx + 4]
cmp dword [eax + 0x44], esi
je 0x403610
push edi
push 0x2f5f
call fcn.0040b51a
pop ecx
pop ecx
mov edx, dword [ebp - 0x14]
and edi, 0x3fffffff
mov eax, dword [ebp - 0x18]
or edi, 0x80000000
push 1
or dword [edx + 8], 0xffffffff
mov dword [edx + 4], eax
mov dword [edx], 0x80000000
mov eax, dword [ebx + 0x18]
movzx ecx, word [eax + 0xc]
movzx eax, word [eax + 8]
mov dword [edx], edi
add ecx, eax
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
push edi
push dword [ebp - 0x44]
push edx
push dword [ebp - 0x4c]
mov edx, dword [ebp - 0x38]
lea eax, [eax + ecx*8]
mov ecx, ebx
mov dword [ebp - 0x18], eax
call fcn.00402acf
mov ecx, dword [ebp - 0x50]
add dword [ebp - 0x14], 0xc
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x4c]
cmp dword [ecx], esi
jl 0x403672
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x38]
push esi
push edi
push dword [ebp - 0x44]
push ecx
push eax
mov ecx, ebx
call fcn.00402acf
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x30], ecx
jmp 0x403545
mov edi, dword [ebp - 0x3c]
mov ecx, ebx
push 1
push edi
push dword [ebp - 0x44]
push edx
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x38]
call fcn.00402acf
mov edx, dword [ebp - 0x38]
mov ecx, ebx
push esi
push edi
push dword [ebp - 0x44]
push dword [ebp - 0x50]
push dword [ebp - 0x20]
call fcn.00402acf
mov ecx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x30], ecx
jmp 0x403716
mov eax, dword [ebx + 4]
cmp dword [eax + 0x44], esi
je 0x4036e3
mov eax, dword [edx]
and eax, 0x3fffffff
push eax
push 0x2f5e
call fcn.0040b51a
pop ecx
pop ecx
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebp - 0x20]
push dword [ebx + 0x24]
mov eax, dword [edx + 0x24]
add eax, dword [ebp - 0x38]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x34]
push esi
push esi
mov eax, dword [eax + 4]
add ecx, eax
mov dword [ebx + 0x2c], ecx
movzx eax, word [edx + 0x3c]
lea eax, [ecx + eax*8]
mov ecx, ebx
mov dword [ebx + 0x30], eax
call fcn.00404fae
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov esi, edx
mov eax, dword [ebp - 0x14]
add edx, 0xc
mov edi, eax
mov dword [ebp - 0x34], edx
add eax, 0xc
dec dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x1c]
inc edi
xor esi, esi
mov dword [ebp - 0x1c], edi
jmp 0x40354b
mov ecx, dword [ebx + 0x18]
mov ax, di
sub ax, word [ecx + 0x30]
mov word [ecx + 0x12], ax
mov eax, dword [ebx + 4]
cmp dword [eax + 0x44], esi
je 0x40376a
mov eax, dword [ebx + 0x18]
movzx eax, word [eax + 0x12]
push eax
push 0x2f62
call fcn.0040b51a
pop ecx
pop ecx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
jmp 0x4037f5
mov ecx, dword [edi]
test ecx, 0x3fffffff
jne 0x4037a1
mov eax, dword [ebx + 0x18]
cmp word [eax + 0xc], si
je 0x40379e
mov eax, dword [ebp - 0x4c]
test ecx, ecx
jl 0x403792
mov eax, dword [ebp - 0x20]
push eax
mov edx, edi
mov ecx, ebx
call fcn.00402979
mov ecx, dword [edi]
mov eax, dword [ebp - 0x14]
test ecx, ecx
jns 0x4037f2
test ecx, 0x40000000
jne 0x4037f2
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx]
movzx esi, word [eax + 0xc]
movzx eax, word [eax + 8]
mov edx, dword [ecx]
add esi, eax
mov eax, dword [edi + 4]
add eax, dword [ebp - 0x4c]
shl esi, 3
push esi
push eax
push 0xa
call dword [edx + 0x10]
and dword [edi], 0x7fffffff
mov edx, dword [ebp - 0x60]
mov dword [edi + 4], edx
mov eax, dword [ebx + 0x18]
movzx ecx, word [eax + 0xc]
movzx eax, word [eax + 8]
add ecx, eax
mov eax, dword [ebp - 0x14]
xor esi, esi
lea edx, [edx + ecx*8]
mov dword [ebp - 0x60], edx
add edi, 0xc
cmp edi, eax
jne 0x403775
push dword [ebp - 0x4c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edi, dword [ebp - 0x14]
pop ecx
push dword [ebx + 0x18]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x74]
mov edx, eax
mov dword [ebx + 0x18], edx
test edx, edx
jne 0x403305
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x80]
push dword [ebp - 0x68]
mov ecx, dword [ebx]
mov edi, dword [ebp - 0x20]
push edi
push esi
mov eax, dword [ecx]
push 0xa
call dword [eax + 0xc]
push edi
mov edi, dword [sym.imp.pgodb140.dll_public:_static_void___stdcall_PogoDbUtil::FreeMemory_void__]
call edi
push dword [ebp - 0x38]
call edi
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx]
shl eax, 4
push eax
push dword [ebx + 0x78]
mov edx, dword [ecx]
push 0xb
call dword [edx + 4]
push dword [ebx + 0x74]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
pop ecx
push dword [ebx + 0x78]
mov dword [ebx + 0x74], esi
call edi
imul eax, dword [ebp - 0x1c], 0xc
pop ecx
mov ecx, dword [ebx]
mov dword [ebx + 0x78], esi
push eax
push dword [ebp - 0x78]
mov edx, dword [ecx]
push 0xc
call dword [edx + 4]
push dword [ebp - 0x6c]
call dword [sym.imp.pgodb140.dll_public:_static_void___stdcall_PogoDbUtil::FreeMemory_void__]
push dword [ebp - 0x78]
call edi
pop ecx
push dword [ebx + 0x84]
call edi
mov eax, dword [ebx + 0x8c]
pop ecx
and dword [eax + 0x10], 0xefffffff
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x70]
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebp - 0x64]
shl eax, 2
add dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x6c]
shl eax, 3
add dword [ebx + 0x68], eax
jmp 0x4038cf
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebx]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edx, eax
mov dword [ebp - 0x64], eax
test edx, edx
jne 0x40311a
push dword [ebp - 0x24]
call edi
pop ecx
push dword [ebx + 0x70]
call edi
mov edx, dword [ebp - 0x88]
pop ecx
mov ecx, ebx
call fcn.00402212
neg eax
lea ecx, [ebp - 0xb8]
sbb esi, esi
and esi, 0xffffff59
call fcn.0040a6aa
lea eax, [esi + 0xa7]
jmp 0x4039c9
mov eax, dword [ebx + 4]
push dword [eax + 0x38]
mov eax, dword [sym.imp.pgodb140.dll_PogoDbStreamNames]
push edi
push dword [eax + 0x30]
push 0xa6
push 0x2ee1
call fcn.0040b1de
push eax
call fcn.0040a27c
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 2
push 0x2ee1
call fcn.0040b1de
push eax
call fcn.0040a374
jmp 0x403941
mov eax, dword [ebx + 4]
push dword [eax + 0x38]
mov eax, dword [sym.imp.pgodb140.dll_PogoDbStreamNames]
push edi
push dword [eax + 0x2c]
jmp 0x40392c
mov eax, dword [ebx + 4]
push dword [eax + 0x38]
mov eax, dword [sym.imp.pgodb140.dll_PogoDbStreamNames]
push edi
push dword [eax + 0x28]
jmp 0x40392c
mov eax, dword [ebx + 4]
push dword [eax + 0x38]
mov eax, dword [sym.imp.pgodb140.dll_PogoDbStreamNames]
push edi
push dword [eax + 0x24]
jmp 0x40392c
call dword [eax]
push eax
call dword [sym.imp.pgodb140.dll_public:_static_unsigned_short_int_const____stdcall_PogoDbUtil::GetErrorText_enum_POGODB_ERROR_]
push eax
mov eax, dword [ebx + 4]
push dword [eax + 0x38]
push 0xa5
push 0x2ee1
call fcn.0040b1de
push eax
call fcn.0040a2be
jmp 0x403941
mov esi, 0x41b
lea ecx, [ebp - 0xb8]
call fcn.0040a6aa
mov eax, esi
call fcn.0040bfd9
ret