Function at 0x1002a150
Capabilities:
Accept command line arguments
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10086db8
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x100a5c90]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x100a5c90]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [0x100aa1c0]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [0x100aa1d4]
xor esi, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], eax
cmp edi, esi
jne 0x1002a21b
push 0x1e8
call fcn.10067232
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0xb8], esi
cmp eax, esi
je 0x1002a206
mov ecx, eax
call fcn.10011d60
jmp 0x1002a208
xor eax, eax
mov edi, eax
mov dword [esp + 0xb8], 0xffffffff
mov dword [0x100aa1c0], edi
call fcn.10013160
test eax, eax
je 0x1002a23d
push ebx
mov eax, str.splwow64.exe
call fcn.100263b0
add esp, 4
test eax, eax
je 0x1002a23d
xor eax, eax
jmp 0x1002aa4b
mov eax, dword [ebp + 0x18]
shr eax, 2
and eax, 1
mov dword [esp + 0x4c], eax
mov eax, dword [0x100aa1c0]
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
cmp eax, esi
jne 0x1002a296
push 0x1e8
call fcn.10067232
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0xb8], 1
cmp eax, esi
je 0x1002a284
mov ecx, eax
call fcn.10011d60
jmp 0x1002a286
xor eax, eax
mov dword [esp + 0xb8], 0xffffffff
mov dword [0x100aa1c0], eax
xor ecx, ecx
cmp dword [eax + 8], esi
push str.supermap
sete cl
mov edi, 0x14
mov dword [esp + 0x20], ecx
lea ecx, [eax + 0x194]
mov eax, dword [ecx + 0x10]
call fcn.10004240
test eax, eax
jne 0x1002a3b0
mov eax, dword [esp + 0x28]
xor edx, edx
mov word [esp + 0x54], dx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1002a2e0
mov edi, dword [esp + 0x28]
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x58]
call fcn.10003a30
mov esi, 7
mov dword [esp + 0xb8], 3
cmp dword [esp + 0x64], esi
jb 0x1002a37c
push edi
mov eax, str.csc.exe
call fcn.100263b0
add esp, 4
test eax, eax
je 0x1002a37c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push edi
push ebx
push eax
call dword [0x100ac828]
cmp dword [esp + 0x68], 8
mov esi, eax
jb 0x1002a375
mov ecx, dword [esp + 0x54]
push ecx
call fcn.10066b10
add esp, 4
mov eax, esi
jmp 0x1002aa4b
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x68], 8
jb 0x1002a39b
mov edx, dword [esp + 0x54]
push edx
call fcn.10066b10
add esp, 4
xor eax, eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
xor esi, esi
mov eax, dword [0x100aa268]
cmp eax, esi
jne 0x1002a3f0
push 0x1c
call fcn.10067232
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0xb8], 4
cmp eax, esi
je 0x1002a3de
push eax
call fcn.10034170
jmp 0x1002a3e0
xor eax, eax
mov dword [esp + 0xb8], 0xffffffff
mov dword [0x100aa268], eax
call fcn.10034210
test eax, eax
je 0x1002a4a5
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x4c], 0
jne 0x1002a418
or dword [ebp + 0x18], 4
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x40]
push edi
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push esi
push ebx
push eax
call dword [0x100ac828]
mov dword [esp + 0x20], eax
test eax, eax
je 0x1002a796
call fcn.10001170
call fcn.100133e0
test eax, eax
je 0x1002a796
push esi
mov eax, str.Osgb2Collada.exe
call fcn.100263b0
add esp, 4
test eax, eax
je 0x1002a796
mov ecx, dword [edi]
push ecx
sub esp, 0x1c
mov eax, esi
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.100036d0
call fcn.10034080
jmp 0x1002a998
cmp ebx, esi
je 0x1002a5c8
xor edx, edx
mov eax, ebx
mov word [esp + 0x54], dx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1002a4c5
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea esi, [esp + 0x58]
call fcn.10003a30
mov dword [esp + 0xb8], 5
mov ecx, dword [esp + 0x64]
push 0xffffffffffffffff
add ecx, 0xfffffffc
lea esi, [esp + 0x74]
lea edx, [esp + 0x58]
call fcn.10009bd0
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0xb8], 6
call fcn.100037e0
mov byte [esp + 0xb8], 5
cmp dword [esp + 0x84], 8
jb 0x1002a533
mov eax, dword [esp + 0x70]
push eax
call fcn.10066b10
add esp, 4
mov eax, dword [esp + 0x64]
push str..bat
mov edi, 4
lea ecx, [esp + 0x58]
call fcn.10004240
test eax, eax
jne 0x1002a55f
mov ecx, dword [esp + 0x1c]
lea esi, [edi - 3]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
jmp 0x1002a5a0
mov eax, ebx
lea ecx, [esp + 0x70]
call fcn.100036d0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x34]
lea edx, [esp + 0x74]
mov byte [esp + 0xbc], 7
call fcn.10055050
add esp, 4
cmp dword [esp + 0x84], 8
mov esi, eax
jb 0x1002a5a0
mov eax, dword [esp + 0x70]
push eax
call fcn.10066b10
add esp, 4
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x68], 8
jb 0x1002a74d
mov ecx, dword [esp + 0x54]
push ecx
call fcn.10066b10
add esp, 4
jmp 0x1002a74d
cmp dword [esp + 0x28], esi
je 0x1002a755
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x50]
push edx
push eax
mov dword [esp + 0x58], esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [eax]
lea ecx, [esp + 0x8c]
call fcn.100036d0
push 1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x94]
mov dword [esp + 0xc0], 8
push edx
xor eax, eax
mov dword [esp + 0x20], 0x2e
call fcn.100109a0
push 4
mov edi, eax
push str..bat
lea eax, [esp + 0x94]
push eax
xor eax, eax
call fcn.100109a0
cmp edi, 0xffffffff
jne 0x1002a650
cmp eax, edi
jne 0x1002a650
lea ecx, [esp + 0x8c]
push ecx
mov eax, str..exe
call fcn.10005b30
mov ecx, dword [esp + 0x9c]
push 4
add ecx, 0xfffffffc
lea esi, [esp + 0x74]
lea edx, [esp + 0x90]
call fcn.10009bd0
mov byte [esp + 0xb8], 9
mov eax, dword [esp + 0x80]
push str..exe
mov edi, 4
mov ecx, esi
call fcn.10004240
test eax, eax
jne 0x1002a6ac
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x34]
lea edx, [esp + 0x90]
call fcn.10055050
add esp, 4
mov esi, eax
jmp 0x1002a6d7
lea ecx, [esp + 0x70]
mov esi, str..bat
call fcn.10005d20
test al, al
je 0x1002a6d5
mov eax, dword [esp + 0x1c]
mov esi, 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
jmp 0x1002a6d7
xor esi, esi
cmp dword [esp + 0x84], 8
jb 0x1002a6ee
mov ecx, dword [esp + 0x70]
push ecx
call fcn.10066b10
add esp, 4
xor edx, edx
mov edi, 7
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0xa0], 8
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], 0
mov word [esp + 0x70], dx
jb 0x1002a731
mov eax, dword [esp + 0x8c]
push eax
call fcn.10066b10
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], cx
test esi, esi
jne 0x1002a40d
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push ebx
push eax
call dword [0x100ac828]
jmp 0x1002aa4b
mov eax, dword [0x100aa1c0]
test eax, eax
jne 0x1002a7da
push 0x1e8
call fcn.10067232
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0xb8], 0xa
test eax, eax
je 0x1002a7c8
mov ecx, eax
call fcn.10011d60
jmp 0x1002a7ca
xor eax, eax
mov dword [esp + 0xb8], 0xffffffff
mov dword [0x100aa1c0], eax
lea ecx, [eax + 0x194]
mov eax, dword [ecx + 0x10]
push str.pixelgrid_bun
mov edi, 0xd
call fcn.10004240
test eax, eax
je 0x1002a998
cmp dword [esp + 0x20], 0
je 0x1002aa27
cmp dword [esp + 0x30], 0
jne 0x1002a8f3
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x1002a874
cmp dword [esp + 0x24], 0
jne 0x1002a8cd
test ebx, ebx
je 0x1002a84a
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
push eax
sub esp, 0x1c
mov eax, ebx
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.100036d0
call fcn.10033f80
jmp 0x1002a998
test esi, esi
je 0x1002a998
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
push edx
sub esp, 0x1c
mov eax, esi
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.100036d0
call fcn.10033f80
jmp 0x1002a998
test eax, eax
jne 0x1002a8cd
cmp dword [esp + 0x24], 1
jne 0x1002a8cd
test ebx, ebx
je 0x1002a8a4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
sub esp, 0x1c
mov eax, ebx
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.100036d0
call fcn.10033e90
jmp 0x1002a998
test esi, esi
je 0x1002a998
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push eax
sub esp, 0x1c
mov eax, esi
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.100036d0
call fcn.10033e90
jmp 0x1002a998
test ebx, ebx
je 0x1002a8df
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx]
push eax
mov eax, ebx
jmp 0x1002a983
test esi, esi
je 0x1002a998
mov edx, dword [esp + 0x18]
mov edi, dword [edx]
push eax
jmp 0x1002a981
test ebx, ebx
je 0x1002a93c
push ebx
mov eax, str.import71.exe
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1002a92d
push ebx
mov eax, str.TiffDecoder.exe
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1002a92d
push ebx
mov eax, str.lqgh.exe
call fcn.100263b0
add esp, 4
test eax, eax
je 0x1002a93c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx]
push eax
mov eax, ebx
jmp 0x1002a983
test esi, esi
je 0x1002a998
push esi
mov eax, str.import71.exe
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1002a976
push esi
mov eax, str.TiffDecoder.exe
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1002a976
push esi
mov eax, str.lqgh.exe
call fcn.100263b0
add esp, 4
test eax, eax
je 0x1002a998
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edi, dword [eax]
push edx
mov eax, esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.100036d0
mov ecx, edi
call fcn.10033d50
cmp dword [esp + 0x20], 0
je 0x1002aa27
push str.F08889E5_231D_40AB_8C47_49FF812E49C2
push 1
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x1002aa27
push 0x2800
call fcn.10067232
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
add esp, 4
push 0x2800
push 0
push 0
push 4
push ebx
call eax
mov edi, eax
mov dword [esp + 0x2c], 5
test esi, esi
je 0x1002aa1b
push esi
mov eax, edi
call fcn.100263b0
add esp, 4
test eax, eax
je 0x1002aa1b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [edx]
push ecx
sub esp, 0x1c
mov eax, esi
mov ecx, esp
mov dword [esp + 0x68], esp
call fcn.100036d0
mov ecx, ebx
call fcn.10033d50
add edi, 0x400
dec dword [esp + 0x2c]
jne 0x1002a9e6
cmp dword [esp + 0x4c], 0
jne 0x1002aa47
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.10066b1b
mov esp, ebp
pop ebp
ret 0x28