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

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x3d08
call fcn.004a1a70
sub esp, eax
mov esi, edx
mov ebx, ecx
mov eax, dword [esp + eax]
mov dword [esp + 8], 0x800
mov dword [esp + 4], eax
lea eax, [esp + 0xf20]
mov dword [esp], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
call fcn.00432110
lea eax, [esp + 0x110]
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], eax
lea eax, [esp + 0xf20]
mov dword [esp + 4], 0x2b
mov dword [esp], eax
call fcn.00432150
mov dword [esp + 0x28], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
call fcn.00450000
lea eax, [esp + 0x1720]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], 1
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0
mov dword [esp + 0x54], eax
lea esi, [esi]
nop
mov dword [eax + 4], 0
lea ecx, [esp + 0x2210]
add eax, 0x1c
cmp eax, ecx
jne 0x4361e0
mov esi, 0x63
mov ebx, ecx
lea esi, [esi]
lea ebp, [ebx + 0x10]
mov dword [ebx], 0x5f9948
lea edi, [ebx + 0x14]
mov dword [ebx + 4], 0x5f9960
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov byte [ebx + 0x18], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], ebp
call fcn.0044ff00
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.0044ff00
add ebx, 0x1c
sub esi, 1
jae 0x436200
lea eax, [esp + 0x5c0]
lea esi, [esp + 0xa70]
lea esi, [esi]
nop
mov dword [eax], 0x5f9800
add eax, 0xc
cmp eax, esi
jne 0x436270
mov eax, esi
nop
mov dword [eax], 0x5f984c
lea edx, [esp + 0xf20]
add eax, 0xc
cmp eax, edx
jne 0x436280
mov ecx, dword [esp + 0x28]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x48], eax
js 0x436745
imul eax, eax, 0x1c
lea edx, [esp + ecx*4 + 0x110]
mov dword [esp + 0x38], 1
mov dword [esp + 0x2c], edx
lea ebx, [esp + 0x430]
lea edi, [esp + 0x2a0]
lea ecx, [esp + eax + 0x2214]
lea eax, [esp + eax + 0x173c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2d00]
mov dword [esp + 0x4c], ecx
mov ebp, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.NumOutStreams
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.00435fc0
mov dword [esp + 0x30], eax
test eax, eax
jle 0x4364f0
lea eax, [ebx + 4]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx - 4], ebx
sub eax, 0x20
test edx, edx
mov edx, dword [esp + 0x30]
mov dword [ecx - 8], edi
cmove eax, esi
mov dword [ecx - 0xc], 1
mov dword [ecx - 0x10], edx
mov dword [ebx], eax
lea eax, [edi + edx*4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
sub eax, 1
cmp eax, dword [esp + 0x48]
lea eax, [esp + 0x5c0]
cmovg eax, dword [esp + 0x4c]
mov dword [edi], eax
cmp edx, 1
je 0x43647e
mov eax, dword [esp + 0x38]
mov ebx, 1
mov dword [esp + 0x44], eax
lea eax, [eax + eax*2]
lea edi, [esp + eax*4 + 0x5c0]
jmp 0x43641f
imul eax, dword [esp + 0x28], 0x1c
add ebx, 1
lea ecx, [esp + eax + 0x2214]
mov dword [edx], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + eax + 0x1730], 1
lea edx, [ecx + 4]
mov dword [esp + eax + 0x1738], ecx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x2210]
mov dword [esp + eax + 0x172c], 1
add edx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
mov dword [esp + eax + 0x1734], edx
mov eax, dword [esp + 0x28]
lea ecx, [edx + 4]
mov dword [edx], edi
add edi, 0xc
mov dword [esp + eax*4 + 0x110], ebp
mov dword [esp], ebp
mov dword [esp + 0x40], ecx
lea ecx, [eax + 1]
mov dword [esp + 0x28], ecx
call sub.msvcrt.dll_strlen
lea ebp, [ebp + eax + 1]
cmp dword [esp + 0x30], ebx
je 0x43647e
mov eax, dword [esp + 0x2c]
mov byte [ebp], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], str.GetOutStreamCompressor
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.00435fc0
test eax, eax
js 0x4364f0
mov eax, dword [esp + 0x44]
add eax, ebx
cmp byte [ebp], 0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax - 8]
lea edx, [eax + ebx*4]
jne 0x4363a0
mov dword [edx], edi
add ebx, 1
add edi, 0xc
cmp dword [esp + 0x30], ebx
jne 0x43641f
sub dword [esp + 0x48], 1
mov eax, dword [esp + 0x48]
sub dword [esp + 0x2c], 4
mov edi, dword [esp + 0x40]
sub dword [esp + 0x4c], 0x1c
mov ebx, dword [esp + 0x3c]
sub dword [esp + 0x34], 0x1c
cmp eax, 0xffffffff
jne 0x4362ee
cmp dword [esp + 0x38], 1
sete al
cmp dword [esp + 0x28], 1
jne 0x43656a
test al, al
je 0x43656a
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0xf20]
mov dword [esp], eax
mov eax, 1
call fcn.00435bd0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov esi, eax
jmp 0x4364fb
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov esi, 0xfffffffe
mov edi, dword [esp + 0x50]
nop
sub edi, 0x1c
mov dword [edi], 0x5f9948
lea eax, [edi + 0x14]
mov dword [edi + 4], 0x5f9960
mov dword [esp], eax
call fcn.0044fbc0
lea eax, [edi + 0x10]
mov dword [esp], eax
call fcn.0044fbc0
lea eax, [esp + 0x2210]
cmp edi, eax
jne 0x436500
lea esi, [esi]
sub edi, 0x1c
lea eax, [edi + 4]
mov dword [esp], eax
call fcn.0044fbc0
lea eax, [esp + 0x1720]
cmp edi, eax
jne 0x436538
lea eax, [esp + 0x78]
mov dword [esp], eax
call ebx
mov eax, esi
sub esp, 4
add esp, 0x3d0c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebp, [esp + 0x94]
mov dword [esp], ebp
call fcn.00450000
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x38]
mov byte [esp + 0x90], 1
mov dword [esp + 0xb0], esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], esi
cmp eax, 0x7ffffff
jg 0x572549
shl eax, 4
mov dword [esp], eax
mov ebx, eax
call fcn.00570890
mov dword [esp], ebx
mov dword [esp + 0xc4], eax
call fcn.00570890
lea edi, [esp + 0xd4]
mov dword [esp + 0xc8], eax
mov dword [esp], edi
call fcn.00450000
mov eax, dword [esp + 0x58]
mov dword [esp], 0x10
mov dword [esp + 0xec], 1
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x5c]
mov byte [esp + 0xd0], 1
mov dword [esp + 0xf4], eax
call fcn.00570890
mov dword [esp], 0x10
mov dword [esp + 0x104], eax
call fcn.00570890
mov esi, dword [esp + 0x38]
mov dword [esp + 0x108], eax
mov ebx, eax
lea edx, [esp + 0x5c4]
xor eax, eax
lea ecx, [esp + 0x90]
mov dword [edx], eax
add eax, 1
add edx, 0xc
mov dword [edx - 8], ecx
cmp eax, esi
jne 0x436644
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xd0]
mov dword [esp + 0xa74], 0
mov dword [esp + 0xa78], eax
test esi, esi
jle 0x436762
lea ebx, [esp + 0x1720]
xor esi, esi
lea eax, [esp + 0x68]
mov dword [ebx], eax
mov eax, dword [esp + esi*4 + 0x110]
mov dword [ebx + 8], eax
lea eax, [ebx + 4]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x435cd0
mov dword [esp], eax
call fcn.0044fc30
add esi, 1
add ebx, 0x1c
cmp esi, dword [esp + 0x28]
jne 0x436681
imul ebx, esi, 0x1c
lea eax, [esp + 0x1720]
add ebx, eax
mov esi, dword [esp + 0x54]
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.0044fc10
add esi, 0x1c
mov dword [esp + 0x54], esi
cmp esi, ebx
jne 0x4366c0
mov ebx, dword [esp + 0x108]
mov esi, dword [esp + 0x74]
test ebx, ebx
je 0x4366f1
mov dword [esp], ebx
call fcn.00570850
mov eax, dword [esp + 0x104]
test eax, eax
je 0x436704
mov dword [esp], eax
call fcn.00570850
mov dword [esp], edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call ebx
sub esp, 4
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x436725
mov dword [esp], eax
call fcn.00570850
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x436738
mov dword [esp], eax
call fcn.00570850
mov dword [esp], ebp
call ebx
sub esp, 4
jmp 0x4364fb
lea esi, [esp + 0x2d00]
mov dword [esp + 0x38], 1
mov eax, 1
mov dword [esp + 0x50], esi
jmp 0x4364af
mov esi, dword [esp + 0x74]
jmp 0x4366e9
sub edi, 0x1c
mov dword [edi], 0x5f9948
lea eax, [edi + 0x14]
mov dword [edi + 4], 0x5f9960
mov dword [esp], eax
call fcn.0044fbc0
lea eax, [edi + 0x10]
mov dword [esp], eax
call fcn.0044fbc0
lea eax, [esp + 0x2210]
cmp edi, eax
jne 0x572486
sub edi, 0x1c
lea eax, [edi + 4]
mov dword [esp], eax
call fcn.0044fbc0
lea eax, [esp + 0x1720]
cmp edi, eax
jne 0x5724b7
lea eax, [esp + 0x78]
mov dword [esp], eax
call ebx
push eax
mov dword [esp], esi
call fcn.004a4100
mov eax, dword [esp + 0x108]
test eax, eax
je 0x5724f5
mov dword [esp], eax
call fcn.00570850
mov eax, dword [esp + 0x104]
test eax, eax
je 0x572508
mov dword [esp], eax
call fcn.00570850
mov dword [esp], edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call ebx
push ecx
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x572527
mov dword [esp], eax
call fcn.00570850
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x57253a
mov dword [esp], eax
call fcn.00570850
mov dword [esp], ebp
call ebx
push edx
mov edi, dword [esp + 0x50]
jmp 0x572486
call fcn.00573100
mov dword [esp], edi
mov edi, 0x63
sub edi, esi
imul edi, edi, 0x1c
call fcn.0044fbc0
mov dword [esp], ebp
call fcn.0044fbc0
lea eax, [esp + 0x2210]
add edi, eax
lea eax, [esp + 0x2210]
cmp edi, eax
jne 0x5725b1
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x5724b7
sub edi, 0x1c
mov dword [edi], 0x5f9948
lea eax, [edi + 0x14]
mov dword [edi + 4], 0x5f9960
mov dword [esp], eax
call fcn.0044fbc0
lea eax, [edi + 0x10]
mov dword [esp], eax
call fcn.0044fbc0
jmp 0x572571