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

Disassembly:
push ebp
push ebx
mov edx, 0x1e
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x10010596
mov eax, dword [esp + 0x88]
mov dword [0x100393e0], eax
mov edx, dword [esp + 0x84]
lea ecx, [esp]
call fcn.10032000
push dword [esp]
lea edx, [0x10036028]
pop ecx
call fcn.100321d0
je 0x100105e3
lea edx, str.merge
lea ecx, [esp + 0x28]
call fcn.10032008
jmp 0x10010b8e
mov word [esp + 0x2c], 9
movzx ebx, word [esp + 0x2c]
mov eax, 3
cmp ebx, eax
jl 0x10010607
movzx ebx, word [esp + 0x2c]
dec ebx
push ebx
pop eax
mov word [esp + 0x30], ax
jmp 0x10010614
movzx ebx, word [esp + 0x2c]
inc ebx
push ebx
pop eax
mov word [esp + 0x30], ax
movzx ebx, word [esp + 0x30]
push ebx
mov ebx, 0xf
cmp ebx, dword [esp]
jne 0x1001063a
mov eax, dword [esp + 0x8c]
mov dword [0x100393e0], eax
add esp, 4
jmp 0x10010b8e
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10010652
movzx eax, word [esp + 0x34]
push eax
pop eax
mov word [esp + 0x30], ax
jmp 0x10010669
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10010669
movzx ebx, word [esp + 0x34]
inc ebx
push ebx
pop eax
mov word [esp + 0x30], ax
pop eax
push 0x19
push dword [esp + 4]
call fcn.10032880
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x24]
add ebx, 2
push ebx
call fcn.100334e0
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x20]
and ebx, ebx
jne 0x1001069a
jmp 0x10010b8e
push 0x19
push 0xffffffff
push dword [esp + 8]
push dword [esp + 0x2c]
call fcn.10033500
lea edx, str.glory
lea ecx, [esp + 0x34]
call fcn.10032008
push dword [esp + 0x24]
lea ebp, [esp + 8]
pop eax
mov word [ebp + 2], ax
push dword [esp + 0x24]
pop eax
mov word [ebp], ax
mov word [esp + 0x38], 4
movzx ebx, word [esp + 0x38]
mov eax, 2
cmp ebx, eax
jl 0x100106fa
movzx ebx, word [esp + 0x38]
dec ebx
push ebx
pop eax
mov word [esp + 0x3c], ax
jmp 0x10010707
movzx ebx, word [esp + 0x38]
inc ebx
push ebx
pop eax
mov word [esp + 0x3c], ax
movzx ebx, word [esp + 0x3c]
push ebx
mov ebx, 0xf
cmp ebx, dword [esp]
jne 0x1001072d
mov eax, dword [esp + 0x8c]
mov dword [0x100393e0], eax
add esp, 4
jmp 0x10010b8e
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10010745
movzx eax, word [esp + 0x40]
push eax
pop eax
mov word [esp + 0x3c], ax
jmp 0x1001075c
mov ebx, 3
cmp ebx, dword [esp]
jne 0x1001075c
movzx ebx, word [esp + 0x40]
inc ebx
push ebx
pop eax
mov word [esp + 0x3c], ax
pop eax
push dword [esp + 0x20]
lea ebp, [esp + 8]
pop eax
mov dword [ebp + 4], eax
lea edx, str.result
lea ecx, [esp + 0x40]
call fcn.10032008
mov dword [esp + 0x24], 0
mov word [esp + 0x44], 2
movzx ebx, word [esp + 0x44]
mov eax, 1
cmp ebx, eax
jl 0x100107a4
movzx ebx, word [esp + 0x44]
dec ebx
push ebx
pop eax
mov word [esp + 0x48], ax
jmp 0x100107b1
movzx ebx, word [esp + 0x44]
inc ebx
push ebx
pop eax
mov word [esp + 0x48], ax
movzx ebx, word [esp + 0x48]
push ebx
mov ebx, 0xe
cmp ebx, dword [esp]
jne 0x100107d7
mov eax, dword [esp + 0x8c]
mov dword [0x100393e0], eax
add esp, 4
jmp 0x10010b8e
mov ebx, 8
cmp ebx, dword [esp]
jne 0x100107ef
movzx eax, word [esp + 0x4c]
push eax
pop eax
mov word [esp + 0x48], ax
jmp 0x10010806
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10010806
movzx ebx, word [esp + 0x4c]
inc ebx
push ebx
pop eax
mov word [esp + 0x48], ax
pop eax
mov dword [esp + 0x1c], 0x1040
mov word [esp + 0x4c], 4
movzx ebx, word [esp + 0x4c]
mov eax, 1
cmp ebx, eax
jl 0x10010833
movzx ebx, word [esp + 0x4c]
dec ebx
push ebx
pop eax
mov word [esp + 0x50], ax
jmp 0x10010840
movzx ebx, word [esp + 0x4c]
inc ebx
push ebx
pop eax
mov word [esp + 0x50], ax
movzx ebx, word [esp + 0x50]
push ebx
mov ebx, 0xa
cmp ebx, dword [esp]
jne 0x10010866
mov eax, dword [esp + 0x8c]
mov dword [0x100393e0], eax
add esp, 4
jmp 0x10010b8e
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1001087e
movzx eax, word [esp + 0x54]
push eax
pop eax
mov word [esp + 0x50], ax
jmp 0x10010895
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10010895
movzx ebx, word [esp + 0x54]
inc ebx
push ebx
pop eax
mov word [esp + 0x50], ax
pop eax
push dword [esp + 0x1c]
call fcn.100334e0
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
and ebx, ebx
jne 0x10010944
push dword [esp + 0x20]
call fcn.10033650
jmp 0x10010b8e
push dword [esp + 0x14]
lea ebp, [esp + 0x10]
pop eax
mov dword [ebp + 4], eax
push dword [esp + 0x1c]
pop eax
mov word [ebp], ax
push dword [esp + 0x1c]
pop eax
mov word [ebp + 2], ax
mov word [esp + 0x5c], 5
movzx ebx, word [esp + 0x5c]
mov eax, 3
cmp ebx, eax
jl 0x10010986
movzx ebx, word [esp + 0x5c]
dec ebx
push ebx
pop eax
mov word [esp + 0x60], ax
jmp 0x10010993
movzx ebx, word [esp + 0x5c]
inc ebx
push ebx
pop eax
mov word [esp + 0x60], ax
movzx ebx, word [esp + 0x60]
push ebx
mov ebx, 0xa
cmp ebx, dword [esp]
jne 0x100109b9
mov eax, dword [esp + 0x8c]
mov dword [0x100393e0], eax
add esp, 4
jmp 0x10010b8e
mov ebx, 9
cmp ebx, dword [esp]
jne 0x100109d1
movzx eax, word [esp + 0x64]
push eax
pop eax
mov word [esp + 0x60], ax
jmp 0x100109e8
mov ebx, 2
cmp ebx, dword [esp]
jne 0x100109e8
movzx ebx, word [esp + 0x64]
inc ebx
push ebx
pop eax
mov word [esp + 0x60], ax
pop eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 8]
push eax
push 0
call fcn.10008f16
mov ebx, eax
and ebx, ebx
jne 0x10010a16
lea ebp, [esp + 0xc]
movsx ebx, word [ebp]
and ebx, ebx
jle 0x10010a16
mov eax, 1
jmp 0x10010a18
xor eax, eax
and eax, eax
je 0x10010a58
lea edx, str.tenant
lea ecx, [esp + 0x64]
call fcn.10032008
push dword [0x100393e0]
push dword [0x100393e0]
push 0x19
lea ebp, [esp + 0x18]
movsx eax, word [ebp]
push eax
push dword [esp + 0x24]
call fcn.10033670
lea eax, [esp + 0x1c]
push eax
call fcn.10033ac0
push dword [esp + 0x14]
call fcn.10033650
push dword [esp + 0x20]
call fcn.10033650
mov word [esp + 0x68], 2
movzx ebx, word [esp + 0x68]
mov eax, 3
cmp ebx, eax
jl 0x10010a8e
movzx ebx, word [esp + 0x68]
dec ebx
push ebx
pop eax
mov word [esp + 0x6c], ax
jmp 0x10010a9b
movzx ebx, word [esp + 0x68]
inc ebx
push ebx
pop eax
mov word [esp + 0x6c], ax
movzx ebx, word [esp + 0x6c]
push ebx
mov ebx, 0x12
cmp ebx, dword [esp]
jne 0x10010ac1
mov eax, dword [esp + 0x8c]
mov dword [0x100393e0], eax
add esp, 4
jmp 0x10010b8e
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10010ad9
movzx eax, word [esp + 0x70]
push eax
pop eax
mov word [esp + 0x6c], ax
jmp 0x10010af0
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10010af0
movzx ebx, word [esp + 0x70]
inc ebx
push ebx
pop eax
mov word [esp + 0x6c], ax
pop eax
mov word [esp + 0x70], 2
movzx ebx, word [esp + 0x70]
mov eax, 5
cmp ebx, eax
jl 0x10010b15
movzx ebx, word [esp + 0x70]
dec ebx
push ebx
pop eax
mov word [esp + 0x74], ax
jmp 0x10010b22
movzx ebx, word [esp + 0x70]
inc ebx
push ebx
pop eax
mov word [esp + 0x74], ax
movzx ebx, word [esp + 0x74]
push ebx
mov ebx, 0x12
cmp ebx, dword [esp]
jne 0x10010b45
mov eax, dword [esp + 0x8c]
mov dword [0x100393e0], eax
add esp, 4
jmp 0x10010b8e
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10010b5d
movzx eax, word [esp + 0x78]
push eax
pop eax
mov word [esp + 0x74], ax
jmp 0x10010b74
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10010b74
movzx ebx, word [esp + 0x78]
inc ebx
push ebx
pop eax
mov word [esp + 0x74], ax
pop eax
mov edx, dword [esp + 0x18]
push dword [0x100393e0]
push edx
call fcn.10033a60
pop eax
add eax, dword [0x10038c80]
jmp 0x10010b9e
mov eax, dword [0x100393e0]
add eax, dword [0x10038c80]
mov word [eax], 0
push dword [esp + 0x40]
call fcn.10033a30
push dword [esp + 0x34]
call fcn.10033a30
push dword [esp + 0x18]
call fcn.10033a30
push dword [esp + 0x28]
call fcn.10033a30
push dword [esp]
call fcn.10033a30
push dword [esp + 0x64]
call fcn.10033a30
add esp, 0x78
pop ebx
pop ebp
ret 4