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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b74b6
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x30], ecx
mov eax, dword [ebp + 0xc]
movzx ebx, ax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10067acc
mov edx, dword [ecx + 0x84]
jmp 0x10067ace
xor edx, edx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
sar eax, 2
dec eax
movzx edi, ax
mov eax, 0xffff
mov dword [esp + 0x2c], edi
cmp di, ax
jne 0x10067af0
xor al, al
jmp 0x100682ba
test ecx, ecx
je 0x10067afc
mov ecx, dword [ecx + 0x84]
jmp 0x10067afe
xor ecx, ecx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.10097c50
test al, al
je 0x10067ae9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10067b21
mov ecx, dword [eax + 0x84]
jmp 0x10067b23
xor ecx, ecx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push edi
call fcn.10097c50
test al, al
je 0x10067ae9
push str.XASM
lea ecx, [esp + 0x38]
call fcn.10093bd0
mov dword [esp + 0x1a8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10067b5f
mov ecx, dword [eax + 0x84]
jmp 0x10067b61
xor ecx, ecx
push ecx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.100955d0
mov dword [esp + 0x1a8], 0xffffffff
cmp dword [esp + 0x48], 0x10
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x10067b92
push dword [esp + 0x34]
call edi
add esp, 4
push str.ENERGY
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.10093bd0
mov dword [esp + 0x1a8], 1
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10067bcf
mov ecx, dword [ecx + 0x84]
jmp 0x10067bd1
xor ecx, ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.100955d0
mov dword [esp + 0x1a8], 0xffffffff
cmp dword [esp + 0x48], 0x10
jb 0x10067bfc
push dword [esp + 0x34]
call edi
add esp, 4
mov eax, dword [esp + 0x1c]
mov edi, 0xffff
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
cmp ax, di
je 0x10067c39
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10095250
test al, al
je 0x10067ae9
mov eax, dword [esp + 0x24]
cmp ax, di
je 0x10067c5c
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10095250
test al, al
je 0x10067ae9
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10067c6b
mov edx, dword [ecx + 0x84]
jmp 0x10067c6d
xor edx, edx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
movzx esi, bx
sar eax, 2
cmp esi, eax
jae 0x10067c85
mov eax, dword [edx + 8]
mov eax, dword [eax + esi*4]
jmp 0x10067c87
xor eax, eax
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov dword [esp + 0x10], edi
test ecx, ecx
je 0x10067c9c
mov edx, dword [ecx + 0x84]
jmp 0x10067c9e
xor edx, edx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
sar eax, 2
cmp esi, eax
jae 0x10067cb3
mov eax, dword [edx + 8]
mov eax, dword [eax + esi*4]
jmp 0x10067cb5
xor eax, eax
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], edx
test ecx, ecx
je 0x10067cca
mov ecx, dword [ecx + 0x84]
jmp 0x10067ccc
xor ecx, ecx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
cmp esi, eax
jae 0x10067ce1
mov eax, dword [ecx + 8]
mov eax, dword [eax + esi*4]
jmp 0x10067ce3
xor eax, eax
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
mov ebx, dword [eax + 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esi, eax
cmp byte [esi], 0x8b
jne 0x10067e08
cmp byte [esi + 1], 0xcd
jne 0x10067e08
cmp byte [esi + 2], 0x8b
jne 0x10067e08
cmp byte [esi + 3], 0xd4
jne 0x10067e08
cmp byte [esi + 4], 0xe8
jne 0x10067e08
cmp byte [esi + 9], 0x5d
jne 0x10067e08
cmp byte [esi + 0xa], 0x8b
jne 0x10067e08
cmp byte [esi + 0xb], 0xc5
jne 0x10067e08
cmp byte [esi + 0xc], 0x81
jne 0x10067e08
cmp byte [esi + 0xd], 0xed
jne 0x10067e08
cmp byte [esi + 0x12], 0x83
jne 0x10067e08
cmp byte [esi + 0x13], 0xe8
jne 0x10067e08
cmp byte [esi + 0x14], 9
jne 0x10067e08
cmp byte [esi + 0x15], 0x2b
jne 0x10067e08
cmp byte [esi + 0x16], 0x85
jne 0x10067e08
cmp byte [esi + 0x1b], 0x89
jne 0x10067e08
cmp byte [esi + 0x1c], 0x85
jne 0x10067e08
cmp byte [esi + 0x21], 0x89
jne 0x10067e08
cmp byte [esi + 0x22], 0x95
jne 0x10067e08
cmp byte [esi + 0x27], 0x89
jne 0x10067e08
cmp byte [esi + 0x28], 0x8d
jne 0x10067e08
cmp byte [esi + 0x2d], 0x8b
jne 0x10067e08
cmp byte [esi + 0x2e], 0x85
jne 0x10067e08
cmp byte [esi + 0x33], 0x81
jne 0x10067e08
cmp byte [esi + 0x34], 0x38
jne 0x10067e08
cmp edi, 0x2000
jne 0x10067e08
cmp edx, 0x3000
jne 0x10067e08
cmp ebx, 0xc0000040
jne 0x10067e08
mov eax, dword [esp + 0x20]
cmp word [esp + 0x24], ax
jne 0x10067df1
mov ecx, 1
jmp 0x1006828c
xor ecx, ecx
xor ebx, ebx
cmp word [esp + 0x1c], ax
jne 0x10068286
lea edx, [ecx + 1]
jmp 0x10068290
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x8c], 0x16a0080
mov dword [esp + 0x90], 0x3550200
mov edi, dword [edi + 4]
sub edi, eax
mov dword [esp + 0x94], 0x5ec048b
push edi
push esi
mov dword [esp + 0xa0], 0x7c40683
mov dword [esp + 0xa4], 0x96008e0
mov dword [esp + 0xa8], 0xbe80a9c
mov dword [esp + 0xac], 0xd000c00
mov dword [esp + 0xb0], 0xf000e00
mov dword [esp + 0xb4], 0x1181105a
mov dword [esp + 0xb8], 0x135f12ea
mov dword [esp + 0xbc], 0x15001403
mov dword [esp + 0xc0], 0x178b1600
mov dword [esp + 0xc4], 0x192b18c2
mov dword [esp + 0xc8], 0x1b8b1a02
mov dword [esp + 0xcc], 0x1d281cb2
mov dword [esp + 0xd0], 0x1f001e01
mov dword [esp + 0xd4], 0x218d2000
mov dword [esp + 0xd8], 0x2306221c
mov dword [esp + 0xdc], 0x258b2453
mov dword [esp + 0xe0], 0x278b2633
mov dword [esp + 0xe4], 0x296028ba
mov dword [esp + 0xe8], 0x2b002a01
mov dword [esp + 0xec], 0x2d8d2c00
mov dword [esp + 0xf0], 0x2f072e1c
mov dword [esp + 0xf4], 0x318b3053
mov dword [esp + 0xf8], 0x3389323b
mov dword [esp + 0xfc], 0x35f03475
mov dword [esp + 0x100], 0x377d3689
mov dword [esp + 0x104], 0x398938ec
mov dword [esp + 0x108], 0x3be03a45
mov dword [esp + 0x10c], 0x3d423c03
mov dword [esp + 0x110], 0x3f893e04
mov dword [esp + 0x114], 0x41044045
mov dword [esp + 0x118], 0x438d4260
mov dword [esp + 0x11c], 0x451c4482
mov dword [esp + 0x120], 0x47004602
mov dword [esp + 0x124], 0x49504800
mov dword [esp + 0x128], 0x4bd74aff
mov dword [esp + 0x12c], 0x4d444c89
mov dword [esp + 0x130], 0x4f1c4e24
mov dword [esp + 0x134], 0x51895061
mov dword [esp + 0x138], 0x53e45245
mov dword [esp + 0x13c], 0x558d5460
mov dword [esp + 0x140], 0x57b05682
mov dword [esp + 0x144], 0x59005800
mov dword [esp + 0x148], 0x5b505a00
mov dword [esp + 0x14c], 0x5d755cff
mov dword [esp + 0x150], 0x5fff5ee4
mov dword [esp + 0x154], 0x618960d6
mov dword [esp + 0x158], 0x63246244
mov dword [esp + 0x15c], 0x6561641c
mov dword [esp + 0x160], 0x67456689
mov dword [esp + 0x164], 0x696068e8
mov dword [esp + 0x168], 0x6b826a8d
mov dword [esp + 0x16c], 0x6d026c0c
mov dword [esp + 0x170], 0x6f006e00
mov dword [esp + 0x174], 0x71ff7050
mov dword [esp + 0x178], 0x73e47275
mov dword [esp + 0x17c], 0x75d674ff
mov dword [esp + 0x180], 0x77447689
mov dword [esp + 0x184], 0x791c7824
mov dword [esp + 0x188], 0x7b897a61
mov dword [esp + 0x18c], 0x7df47c45
mov dword [esp + 0x190], 0x7f897e5f
mov byte [esp + 0x194], 0x7d
call fcn.1001cbe0
test al, al
je 0x10068157
mov eax, dword [esp + 0x10]
cmp eax, 0xc8c
jne 0x10068126
cmp dword [esp + 0x14], 0x3000
jne 0x1006828a
xor ecx, ecx
xor edx, edx
cmp ebx, 0x60000020
jne 0x1006828e
lea esi, [ecx + 1]
xor ebx, ebx
jmp 0x10068292
cmp eax, 0xc7c
jne 0x1006828a
cmp dword [esp + 0x14], 0x3000
jne 0x1006828a
xor ecx, ecx
xor edx, edx
cmp ebx, 0x60000020
jne 0x1006828e
lea ebx, [ecx + 1]
jmp 0x10068290
push edi
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x156000c
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0x32e0268
mov dword [esp + 0x44], 0x5720447
mov dword [esp + 0x48], 0x7530661
mov dword [esp + 0x4c], 0x9830853
mov dword [esp + 0x50], 0xb100ac4
mov byte [esp + 0x54], 0xb8
mov dword [esp + 0x58], 0x18b001d
mov dword [esp + 0x5c], 0x3240274
mov dword [esp + 0x60], 0x58b040c
mov dword [esp + 0x64], 0x7b406ae
mov dword [esp + 0x68], 0x9000800
mov dword [esp + 0x6c], 0xb310a00
mov dword [esp + 0x70], 0xd640cc0
mov dword [esp + 0x74], 0xf200e8b
mov dword [esp + 0x78], 0x1164105c
mov dword [esp + 0x7c], 0x1300128f
mov dword [esp + 0x80], 0x1585148d
mov dword [esp + 0x84], 0x17011610
mov dword [esp + 0x88], 0x19001800
mov dword [esp + 0x8c], 0x1b041a89
mov word [esp + 0x90], 0x1c24
mov byte [esp + 0x92], 0xc3
mov dword [esp + 0x18], eax
call fcn.1001cbe0
test al, al
je 0x1006828a
lea eax, [esp + 0x50]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
lea eax, [edi - 0x15]
push eax
lea eax, [esi + 0x15]
push eax
call fcn.1001cbe0
test al, al
je 0x1006828a
mov ecx, dword [esp + 0x2c]
test cx, cx
je 0x1006828a
mov eax, dword [esp + 0x20]
cmp cx, ax
jne 0x1006828a
cmp ebx, 0xe0000020
je 0x10068278
cmp ebx, 0xe2000060
je 0x10068278
cmp ebx, 0xe0000060
jne 0x1006828a
mov eax, dword [esp + 0x28]
mov ecx, 1
mov word [eax], cx
jmp 0x100682b8
xor edx, edx
jmp 0x10068290
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 0x28]
cmp word [eax], 1
je 0x100682b8
cmp si, 1
je 0x100682b8
cmp bx, 1
je 0x100682b8
cmp dx, 1
je 0x100682b8
cmp cx, 1
jne 0x10067ae9
mov al, 1
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.100b37df
mov esp, ebp
pop ebp
ret