Function at 0x109583f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10bd3086
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
mov eax, dword [esp + 0xb4]
push ebx
push ebp
mov ebp, dword [esp + 0xb8]
push esi
push edi
mov edi, ecx
push edi
push eax
push ebp
call fcn.10957d60
lea esi, [ebp + 0xa4]
xor ebx, ebx
mov eax, 1
mov dword [esp + 0xb8], ebx
mov dword [esi], 0x10c0e918
mov dword [esi + 4], 0xaf
mov dword [esi + 8], 0x7d0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 3
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], reloc.ole32.dll_CoCreateGuid
mov ecx, dword [esp + 0xc8]
mov dword [ebp], 0x10c0c4d8
mov dword [esi], 0x10c0c478
mov dword [ebp + 0xe4], ecx
mov dword [ebp + reloc.ole32.dll_CoCreateGuid], ebx
mov dword [ebp + reloc.ole32.dll_CoCreateGuid], ebx
mov dword [ebp + reloc.ole32.dll_CoCreateGuid], ebx
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 2
call fcn.109046c0
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0xb8], 3
je 0x109584cf
dec eax
jmp 0x109584d1
xor eax, eax
mov edx, dword [esp + 0x14]
mov ecx, dword [0x10c71ab4]
cmp word [edx + eax*2 - 2], 0x63
mov edx, dword [0x10c71aa8]
mov eax, dword [ecx]
jne 0x109584ef
push 1
jmp 0x109584f0
push ebx
push edx
push ebx
push edi
call dword [eax + 8]
cmp eax, ebx
mov dword [ebp + reloc.ole32.dll_CoCreateGuid], eax
jne 0x1095850d
push 0x10c51384
call fcn.109120a0
add esp, 4
mov eax, dword [0x10cc9e9c]
xor edi, edi
cmp eax, ebx
jle 0x10958557
jmp 0x10958520
mov eax, dword [0x10cc9e98]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebp + 0x28]
cmp dword [ecx + 0x28], eax
jne 0x1095854d
mov ecx, dword [eax + 0x20]
mov edx, dword [0x10cc9e5c]
mov eax, dword [edx + ecx*4]
add eax, 0xc
push eax
push str.Linker_for__s_already_exists
call fcn.109120a0
add esp, 8
mov eax, dword [0x10cc9e9c]
inc edi
cmp edi, eax
jl 0x10958520
cmp dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x14]
jne 0x10958566
mov ecx, 0x10c10928
mov eax, dword [0x10c946bc]
mov edx, dword [eax]
push ecx
push str.Loading_file__s...
push ebx
push ebx
push eax
call dword [edx + 0x14]
mov eax, 1
lea edi, [ebp + 0x2c]
add esp, 0x14
mov ecx, edi
mov dword [ebp + 0xa8], 0xaf
mov dword [ebp + 0xb0], ebx
mov dword [ebp + 0xc0], eax
mov dword [ebp + 0xb4], eax
mov dword [ebp + 0xc4], ebx
mov dword [ebp + 0xc8], eax
mov dword [ebp + 0xcc], eax
call fcn.10957a80
mov eax, dword [ebp + 0x30]
mov ecx, eax
sar eax, 0x10
and eax, 0xffff
mov dword [ebp + 0xb0], eax
mov eax, dword [ebp + 0x28]
and ecx, 0xffff
cmp eax, ebx
mov dword [ebp + 0xa8], ecx
je 0x109585fd
mov ecx, dword [eax + 0x24]
cmp ecx, ebx
je 0x109585fd
cmp ecx, 0x10cca798
je 0x109585f7
mov ecx, dword [ecx + 0x28]
cmp ecx, ebx
jne 0x109585e6
jmp 0x109585fd
mov edx, dword [ebp + 0x34]
mov dword [eax + 0x2c], edx
cmp dword [edi], reloc.ole32.dll_CoCreateGuid
je 0x1095863f
cmp dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
jne 0x10958614
mov eax, 0x10c10928
mov ebx, dword [0x10c946bc]
push eax
push str.The_file__s_contains_unrecognizable_data
call fcn.109118d0
add esp, 8
push 0x10c1d970
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0x10c51470
call sub.MSVCR70.dll__CxxThrowException
mov ecx, dword [ebp + 0x30]
and ecx, 0xffff
cmp ecx, 0x3c
jge 0x1095868c
cmp dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
jne 0x1095865c
mov eax, 0x10c10928
mov ecx, dword [0x10c946bc]
mov edx, dword [ecx]
push eax
push str.The_file__s_was_saved_by_a_previous_version_which_is_not_backwards_compatible_with_this_one.__Reading_it_will_likely_fail__and_may_cause_a_crash._Do_you_want_to_try_anyway_
push ecx
call dword [edx + 8]
add esp, 0xc
test eax, eax
jne 0x1095868c
push 0x10c1d970
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], str.Aborted
call sub.MSVCR70.dll__CxxThrowException
mov eax, dword [ebp + 0x48]
push eax
lea ecx, [ebp + 0x78]
push 0x18
call fcn.10904550
mov eax, dword [ebp + 0x40]
push eax
lea ecx, [ebp + 0x84]
push 0x1c
call fcn.10904550
mov eax, dword [ebp + 0x38]
push eax
lea edi, [ebp + 0x6c]
push 4
mov ecx, edi
call fcn.10904550
cmp dword [ebp + 0x38], ebx
jle 0x10958757
mov eax, dword [ebp + 0x3c]
mov ecx, dword [esi + reloc.ole32.dll_CoCreateGuid]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
cmp dword [ebp + 0x38], ebx
mov dword [esp + 0x10], ebx
jle 0x10958757
lea esp, [esp]
lea eax, [esp + 0x24]
push eax
call fcn.1093b4a0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0xa0]
add esp, 4
test ecx, eax
je 0x10958737
push 1
lea eax, [esp + 0x34]
lea ebx, [esp + 0x24]
call fcn.1091ff70
mov edx, dword [0x10cc9e5c]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + ebx*4]
mov edx, dword [eax + 4]
push 4
or edx, 0x20000000
push 1
mov ecx, edi
mov dword [eax + 4], edx
call fcn.109044e0
mov ecx, dword [edi]
mov dword [ecx + eax*4], ebx
xor ebx, ebx
jmp 0x10958747
push 4
push 1
mov ecx, edi
call fcn.109044e0
mov edx, dword [edi]
mov dword [edx + eax*4], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x109586e0
mov ecx, dword [esi + reloc.ole32.dll_CoCreateGuid]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp dword [ebp + 0x48], ebx
jle 0x1095880d
mov eax, dword [ebp + 0x4c]
mov ecx, dword [esi + reloc.ole32.dll_CoCreateGuid]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
cmp dword [ebp + 0x48], ebx
mov dword [esp + 0x10], ebx
jle 0x1095880d
jmp 0x10958790
mov edi, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x80]
lea ecx, [edi + 1]
cmp ecx, eax
mov dword [ebp + 0x7c], ecx
jle 0x109587ef
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
mov edx, dword [ebp + 0x78]
sar eax, 3
lea eax, [eax + ecx + 0x20]
mov dword [ebp + 0x80], eax
mov ecx, dword [0x10c73bf0]
lea eax, [eax + eax*2]
shl eax, 3
cmp edx, ebx
jne 0x109587d8
mov edx, dword [ecx]
push str.FArray::Add
push eax
call dword [edx]
jmp 0x109587ec
mov ecx, dword [ecx]
push str.FArray
push eax
mov eax, ecx
mov ecx, dword [0x10c73bf0]
push edx
call dword [eax + 4]
mov dword [ebp + 0x78], eax
mov edx, dword [ebp + 0x78]
lea ecx, [edi + edi*2]
lea edi, [edx + ecx*8]
call fcn.10957a00
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x10958790
cmp dword [ebp + 0x40], ebx
jle 0x109588dd
mov eax, dword [ebp + 0x44]
mov ecx, dword [esi + reloc.ole32.dll_CoCreateGuid]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
cmp dword [ebp + 0x40], ebx
mov dword [esp + 0x10], ebx
jle 0x109588dd
jmp 0x10958840
mov edi, dword [ebp + 0x88]
mov eax, dword [ebp + 0x8c]
lea ecx, [edi + 1]
cmp ecx, eax
mov dword [ebp + 0x88], ecx
jle 0x109588a2
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
mov edx, dword [ebp + 0x84]
sar eax, 3
lea eax, [eax + ecx + 0x20]
mov dword [ebp + 0x8c], eax
imul eax, eax, 0x1c
cmp edx, ebx
mov ecx, dword [0x10c73bf0]
jne 0x1095888e
mov edx, dword [ecx]
push str.FArray::Add
push eax
call dword [edx]
jmp 0x1095889c
mov ebx, dword [ecx]
push str.FArray
push eax
push edx
call dword [ebx + 4]
xor ebx, ebx
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x84]
imul edi, edi, 0x1c
add edi, eax
mov eax, edi
je 0x109588bc
mov word [eax + 6], 0xffff
mov dword [eax + 0x14], ebx
jmp 0x109588be
xor eax, eax
mov ebx, eax
mov eax, esi
call fcn.10957950
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x40]
inc eax
xor ebx, ebx
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x10958840
or eax, reloc.ole32.dll_CoCreateGuid
lea edi, [ebp + 0xec]
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x88]
xor edi, edi
cmp eax, edi
jle 0x109589ac
xor esi, esi
nop
mov edi, dword [ebp + 0x84]
mov cx, word [esi + edi]
test cx, cx
jge 0x10958933
mov eax, dword [ebp + 0x78]
movsx ecx, cx
inc ecx
lea ecx, [ecx + ecx*2]
shl ecx, 3
mov edx, ecx
mov ecx, eax
sub ecx, edx
movsx ecx, word [ecx + 8]
lea ecx, [ecx + ecx*2]
shl ecx, 3
sub eax, ecx
mov edx, dword [eax - 0xc]
jmp 0x10958942
jle 0x1095893d
mov eax, dword [ebp + 0x28]
mov edx, dword [eax + 0x20]
jmp 0x10958942
mov edx, 0x14
mov ax, word [esi + edi]
test ax, ax
jge 0x1095895e
mov ecx, dword [ebp + 0x78]
movsx eax, ax
lea eax, [eax + eax*2]
shl eax, 3
sub ecx, eax
mov eax, dword [ecx - 0xc]
jmp 0x10958971
jle 0x1095896c
movsx eax, ax
imul eax, eax, 0x1c
mov eax, dword [eax + edi - 0x14]
jmp 0x10958971
mov eax, 0x2a5
mov ecx, dword [esi + edi + 8]
imul edx, edx, 0x1f
imul eax, eax, 7
add ecx, edx
add eax, ecx
and eax, 0xff
mov cx, word [ebp + eax*4 + 0xec]
mov word [esi + edi + 6], cx
mov dword [ebp + eax*4 + 0xec], ebx
mov eax, dword [ebp + 0x88]
inc ebx
add esi, 0x1c
cmp ebx, eax
jl 0x10958900
xor edi, edi
mov ecx, dword [0x10cc9e9c]
mov eax, dword [0x10cc9ea0]
mov esi, ecx
inc ecx
cmp ecx, eax
mov dword [0x10cc9e9c], ecx
jle 0x10958a09
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
mov edx, dword [0x10cc9e98]
sar eax, 3
lea eax, [eax + ecx + 0x20]
mov ecx, dword [0x10c73bf0]
mov dword [0x10cc9ea0], eax
shl eax, 2
cmp edx, edi
jne 0x109589f8
mov edx, dword [ecx]
push str.FArray::Add
push eax
call dword [edx]
jmp 0x10958a04
mov ebx, dword [ecx]
push str.FArray
push eax
push edx
call dword [ebx + 4]
mov dword [0x10cc9e98], eax
mov ecx, dword [0x10cc9e98]
mov dword [ecx + esi*4], ebp
mov al, byte [ebp + 0xe4]
test al, al
js 0x10958a22
push ebp
call fcn.10958ab0
mov dword [ebp + 0x90], 1
mov eax, dword [esp + 0x14]
cmp eax, edi
mov byte [esp + 0xb8], 4
mov dword [esp + 0x18], edi
je 0x10958a54
mov ecx, dword [0x10c73bf0]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x18]
push 2
push eax
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 5
call fcn.109119c0
mov eax, dword [esp + 0x14]
cmp eax, edi
mov byte [esp + 0xb8], 2
je 0x10958a89
mov ecx, dword [0x10c73bf0]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 0xc