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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x100dc008]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x34], ebx
lea eax, [ebx + 0x28]
mov ecx, eax
mov dword [esp + 0x38], eax
call fcn.10035840
lea eax, [ebx + 0x18]
xor ecx, ecx
mov dword [eax + 4], 0
mov dword [esp + 0x3c], eax
mov eax, dword [eax]
mov word [eax], cx
xor eax, eax
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x44], ecx
lea ebx, [ecx + 2]
mov dword [esp + 0x14], eax
cmp dword [0x100e0298], eax
jbe 0x100353c2
mov edi, dword [eax*4 + 0x100e0a78]
push 8
mov dword [esp + 0x34], edi
call fcn.1007c3b0
mov edx, eax
mov dword [esp + 0x58], 3
xor eax, eax
mov dword [esp + 0x50], edx
add esp, 4
mov dword [esp + 0x58], eax
xor esi, esi
mov dword [esp + 0x5c], eax
mov word [edx], ax
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov word [esp + 0x68], ax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0xffffffff
cmp byte [ebx], al
je 0x10035123
nop
inc esi
cmp byte [esi + ebx], al
jne 0x100350e0
cmp esi, 3
jbe 0x10035123
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1007c3b0
add esp, 4
mov edi, eax
push dword [esp + 0x4c]
call fcn.1007bfd8
mov edx, edi
mov dword [esp + 0x58], esi
mov edi, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x4c], edx
xor ecx, ecx
test esi, esi
je 0x1003513d
nop dword [eax]
movzx eax, byte [ecx + ebx]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x10035130
xor eax, eax
mov dword [esp + 0x50], esi
mov word [edx + esi*2], ax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x48], eax
movzx eax, word [edi]
push 8
mov dword [esp + 0x44], eax
call fcn.1007c3b0
mov esi, eax
mov dword [esp + 0x2c], 0
add esp, 4
mov dword [esp + 0x24], esi
xor eax, eax
mov dword [esp + 0x2c], 3
mov word [esi], ax
push 8
call fcn.1007c3b0
mov edx, eax
mov dword [esp + 0x20], 0
xor eax, eax
mov dword [esp + 0x1c], edx
add esp, 4
mov dword [esp + 0x20], 3
mov word [edx], ax
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x1003521b
xor edi, edi
cmp byte [ebx], al
je 0x100351f4
inc edi
cmp byte [edi + ebx], al
jne 0x100351b3
cmp edi, 3
jbe 0x100351f4
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1007c3b0
add esp, 4
mov esi, eax
push dword [esp + 0x24]
call fcn.1007bfd8
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], edi
xor ecx, ecx
test edi, edi
je 0x1003520d
nop word [eax + eax]
movzx eax, byte [ecx + ebx]
mov word [esi + ecx*2], ax
inc ecx
cmp ecx, edi
jb 0x10035200
xor eax, eax
mov dword [esp + 0x28], edi
mov word [esi + edi*2], ax
mov edi, dword [esp + 0x30]
mov ebx, dword [edi + 0x14]
test ebx, ebx
je 0x1003529b
xor edi, edi
cmp byte [ebx], 0
je 0x10035274
nop dword [eax]
inc edi
cmp byte [edi + ebx], 0
jne 0x10035230
cmp edi, 3
jbe 0x10035274
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1007c3b0
add esp, 4
mov esi, eax
push dword [esp + 0x18]
call fcn.1007bfd8
mov edx, esi
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x18], edx
xor ecx, ecx
test edi, edi
je 0x1003528d
nop word [eax + eax]
movzx eax, byte [ecx + ebx]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, edi
jb 0x10035280
xor eax, eax
mov dword [esp + 0x1c], edi
mov word [edx + edi*2], ax
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
call fcn.10033b10
push dword [esp + 0x18]
call fcn.1007bfd8
add esp, 4
push esi
call fcn.1007bfd8
mov eax, dword [edi + 0x1c]
add esp, 4
test eax, eax
mov dword [esp + 0x64], eax
movzx eax, word [edi + 4]
mov dword [esp + 0x6c], eax
setne byte [esp + 0x68]
mov al, byte [edi]
shr al, 4
mov byte [esp + 0x69], 1
test al, 1
je 0x100352fd
movzx edx, byte [edi + 3]
lea eax, [esp + 0x70]
mov ecx, dword [edi + 8]
push eax
call fcn.10033da0
add esp, 4
jmp 0x1003536a
push 8
call fcn.1007bfdd
mov esi, eax
lea ecx, [esp + 0x74]
add esp, 4
mov dword [esi], 0
push esi
mov dword [esi + 4], 0
call fcn.10027e60
movzx ebx, byte [edi + 3]
mov edi, dword [edi + 8]
cmp ebx, dword [esi + 4]
je 0x1003535a
mov eax, dword [esi]
test eax, eax
je 0x10035341
push eax
call fcn.1007bfd8
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
test ebx, ebx
je 0x1003536a
push ebx
call fcn.1007c3b0
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], ebx
test ebx, ebx
je 0x1003536a
push ebx
push edi
push dword [esi]
call fcn.1008bac0
add esp, 0xc
push 0x54
call fcn.1007bfdd
add esp, 4
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.100358f0
mov ecx, dword [esp + 0x38]
push eax
call fcn.10027e60
lea ecx, [esp + 0x70]
call fcn.10027d50
lea ecx, [esp + 0x58]
call fcn.10027d90
push dword [esp + 0x4c]
call fcn.1007bfd8
mov eax, dword [esp + 0x18]
add esp, 4
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [0x100e0298]
jb 0x10035081
mov ebx, 2
lea ecx, [esp + 0x24]
call fcn.10033e80
xor eax, eax
mov dword [esp + 0x14], eax
cmp word [str.7z.dll], ax
je 0x100353f0
nop word [eax + eax]
inc eax
cmp word [eax*2 + str.7z.dll], 0
jne 0x100353e0
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x28]
xor ecx, ecx
lea esi, [edi + eax]
lea eax, [esi + 1]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1007c3b0
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov ebx, eax
lea esi, [edi + edi]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x24]
push esi
push edi
push ebx
call fcn.1008bac0
mov eax, dword [esp + 0x20]
add esp, 0xc
lea eax, [eax*2 + 2]
push eax
lea eax, [ebx + esi]
push str.7z.dll
push eax
call fcn.1008bac0
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x1f]
add esp, 0xc
push eax
push 0
lea eax, [esp + 0x20]
push eax
call fcn.10034ca0
push ebx
mov esi, eax
call fcn.1007bfd8
add esp, 4
test esi, esi
jne 0x1003554f
cmp byte [esp + 0x13], 0
jne 0x10035488
mov ecx, dword [esp + 0x3c]
push str.7z.dll
call fcn.10028700
push str.Codecs_
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.10028570
mov ebx, dword [esp + 0x38]
add esp, 4
mov ecx, ebx
push eax
call fcn.10034e70
push dword [esp + 0x18]
mov esi, eax
call fcn.1007bfd8
add esp, 4
test esi, esi
jne 0x1003554f
push str.Formats_
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.10028570
add esp, 4
mov ecx, ebx
push eax
call fcn.10034e70
push dword [esp + 0x18]
mov esi, eax
call fcn.1007bfd8
add esp, 4
test esi, esi
jne 0x1003554f
mov eax, dword [ebx + 0x10]
mov byte [ebx + 0x24], 1
test eax, eax
je 0x10035506
cmp eax, 1
jne 0x1003550a
cmp dword [0x100e0298], esi
jne 0x1003550a
mov byte [ebx + 0x24], 0
cmp byte [ebx + 0x24], 0
je 0x1003554d
xor edi, edi
test eax, eax
je 0x10035549
nop word [eax + eax]
mov eax, dword [ebx + 0xc]
push str.SetCodecs
mov esi, dword [eax + edi*4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x20], eax
test eax, eax
je 0x10035543
push ebx
call eax
mov esi, eax
test esi, esi
jne 0x1003556f
inc edi
cmp edi, dword [ebx + 0x10]
jb 0x10035520
mov edi, dword [esp + 0x24]
xor esi, esi
push edi
call fcn.1007bfd8
mov ecx, dword [esp + 0xa0]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007bfb0
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x24]
jmp 0x1003554f