Function at 0x4393e0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x30]
xor esi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x50]
push ecx
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], eax
call fcn.00439960
add esp, 8
test eax, eax
je 0x439923
push 0x4000
mov dword [esp + 0x60], 0x4000
call fcn.0043beb0
add esp, 4
cmp eax, esi
mov dword [esp + 0x58], eax
jne 0x439453
push 0x4bb868
push esi
push 0x223
push str.C:UsersAdministratorDesktop360BaseLibQHImageHlp.c
call fcn.00439060
jmp 0x439920
mov ebx, dword [esp + 0x68]
lea edx, [esp + 0x30]
push edx
push 0x40
push ebx
push esi
push esi
call fcn.004399a0
add esp, 0x14
test eax, eax
je 0x439923
cmp word [ebx], 0x5a4d
jne 0x43990a
mov eax, dword [ebx + 0x3c]
cmp eax, esi
jle 0x43990a
lea ecx, [esp + 0x30]
lea edx, [esp + 0x1c]
push ecx
push 4
push edx
cdq
push edx
push eax
call fcn.004399a0
add esp, 0x14
test eax, eax
je 0x439923
cmp dword [esp + 0x1c], 0x4550
je 0x4394c1
push 0x4bb8a4
push 1
push 0x22e
jmp 0x439916
mov eax, dword [ebx + 0x3c]
mov ebp, dword [esp + 0x6c]
cmp eax, 0x110
lea edi, [eax + 4]
mov dword [ebp + 0xa0], 0
jb 0x439510
lea eax, [esp + 0x30]
push eax
push 0x90
push ebx
push 0
push 0x80
call fcn.004399a0
add esp, 0x14
test eax, eax
je 0x439923
cmp dword [ebx], 0x82c8851f
jne 0x439510
mov dword [ebp + 0xa0], 0x80
lea ecx, [esp + 0x30]
push ecx
push 0x14
push ebx
push esi
push edi
call fcn.004399a0
add esp, 0x14
test eax, eax
je 0x439923
lea edx, [esp + 0x30]
add edi, 0x14
push edx
lea eax, [esp + 0x1c]
adc esi, 0
push 2
push eax
push esi
push edi
mov dword [esp + 0x40], esi
call fcn.004399a0
add esp, 0x14
test eax, eax
je 0x439923
mov eax, dword [esp + 0x18]
cmp ax, 0x10b
jne 0x439586
mov ax, word [ebx + 0x10]
cmp ax, 0x78
jae 0x439577
push 0x4bb894
push 1
push 0x248
jmp 0x439916
mov dword [esp + 0x68], 1
mov esi, 0xe0
jmp 0x4395b8
cmp ax, 0x20b
jne 0x4398fc
mov ax, word [ebx + 0x10]
cmp ax, 0x88
jae 0x4395ab
push 0x4bb894
push 1
push 0x24e
jmp 0x439916
mov dword [esp + 0x68], 0
mov esi, 0xf0
and eax, 0xffff
cmp eax, esi
jae 0x4395c3
mov esi, eax
mov eax, dword [esp + 0x2c]
mov cx, word [ebx + 2]
lea edx, [esp + 0x30]
mov word [esp + 0x64], cx
push edx
push esi
push ebx
push eax
push edi
call fcn.004399a0
add esp, 0x14
test eax, eax
je 0x439923
mov ecx, dword [esp + 0x68]
xor eax, eax
cmp ecx, eax
je 0x439655
lea ecx, [edi + 0x40]
lea edx, [edi + 0x80]
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov ecx, dword [ebx + 0x80]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebx + 0x84]
mov dword [ebp + 0x14], edx
mov ecx, dword [ebx + 0x40]
mov dword [ebp + 0x10], ecx
mov byte [ebp + 0x9c], al
cmp word [ebx + 0x44], 1
jne 0x43963e
mov byte [ebp + 0x9d], 1
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
jmp 0x4396ae
mov byte [ebp + 0x9d], 0
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
jmp 0x4396ae
lea edx, [edi + 0x40]
lea ecx, [edi + 0x90]
mov dword [ebp], edx
mov dword [ebp + 4], ecx
mov edx, dword [ebx + 0x90]
mov dword [ebp + 0xc], edx
mov ecx, dword [ebx + 0x94]
mov dword [ebp + 0x14], ecx
mov edx, dword [ebx + 0x40]
mov dword [ebp + 0x10], edx
mov byte [ebp + 0x9c], 1
cmp word [ebx + 0x44], 1
jne 0x439693
mov byte [ebp + 0x9d], 1
jmp 0x43969a
mov byte [ebp + 0x9d], 0
mov ecx, dword [ebx + 0x80]
mov edx, dword [ebx + 0x84]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x2c]
add ecx, 4
add edi, esi
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 0xa0]
adc edx, eax
cmp ecx, eax
mov dword [esp + 0x2c], edx
mov dword [ebp + 0x18], eax
mov byte [ebp + 0x9e], 0
mov dword [ebp + 0xb0], edi
je 0x4396f9
mov cl, byte [ebp + 0x9c]
test cl, cl
jne 0x4396f9
mov cl, byte [ebp + 0x9d]
mov dword [esp + 0x68], 1
test cl, cl
jne 0x4396fd
mov dword [esp + 0x68], eax
cmp dword [esp + 0x70], eax
je 0x439709
cmp dword [esp + 0x20], eax
jne 0x439713
cmp dword [esp + 0x68], eax
je 0x4398f2
mov ecx, dword [esp + 0x64]
mov eax, 0x333
cmp cx, ax
mov dword [esp + 0x18], eax
jbe 0x43972b
mov dword [esp + 0x64], eax
jmp 0x43973a
cmp cx, 0xffff
jne 0x43973a
mov dword [esp + 0x64], 0xfffe
mov esi, dword [esp + 0x64]
and esi, 0xffff
lea esi, [esi + esi*4]
shl esi, 3
push esi
call fcn.0043beb0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x439775
push 0x4bb868
push eax
push 0x289
push str.C:UsersAdministratorDesktop360BaseLibQHImageHlp.c
call fcn.00439060
jmp 0x439920
lea edx, [esp + 0x30]
push edx
push esi
push eax
mov eax, dword [esp + 0x38]
push eax
push edi
call fcn.004399a0
add esp, 0x14
test eax, eax
je 0x439923
mov ecx, dword [ebp + 0xb0]
mov eax, dword [esp + 0x68]
add ecx, esi
test eax, eax
mov dword [ebp + 0xb0], ecx
je 0x4397ea
cmp word [esp + 0x64], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], 0
jbe 0x4397ea
mov ecx, 5
mov edi, str.INIT
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4397e3
mov ecx, dword [esp + 0x68]
add eax, 0x28
inc ecx
cmp cx, word [esp + 0x64]
mov dword [esp + 0x68], ecx
jb 0x4397bc
jmp 0x4397ea
mov byte [ebp + 0x9e], 1
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push edi
push eax
push ecx
push edx
call fcn.00439d40
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4398f2
lea eax, [esp + 0x30]
push eax
push 0x8000
push ebx
push 0xa
push esi
call fcn.00439c90
add esp, 0x14
test eax, eax
je 0x4398f2
mov eax, dword [eax + 4]
test eax, 0x80000000
je 0x4398f2
lea ecx, [esp + 0x30]
and eax, 0x7fffffff
push ecx
push 0x8000
push ebx
add eax, esi
push 0x360
push eax
call fcn.00439c90
add esp, 0x14
test eax, eax
je 0x4398f2
mov eax, dword [eax + 4]
test eax, 0x80000000
je 0x4398f2
lea edx, [esp + 0x30]
and eax, 0x7fffffff
push edx
push 0x8000
push ebx
add eax, esi
push 0
push eax
call fcn.00439c90
add esp, 0x14
test eax, eax
je 0x4398f2
mov eax, dword [eax + 4]
test eax, 0x80000000
jne 0x4398f2
lea ecx, [esp + 0x30]
add eax, esi
push ecx
push 0x10
push ebx
push 0
push eax
call fcn.004399a0
add esp, 0x14
test eax, eax
je 0x439923
cmp dword [ebx + 4], 0x80
jne 0x4398f2
mov edx, dword [esp + 0x10]
mov eax, dword [ebx]
push edi
push edx
push 0x80
push eax
call fcn.00439d40
lea ecx, [esp + 0x40]
lea edx, [ebp + 0x1c]
push ecx
push 0x80
push edx
push 0
push eax
call fcn.004399a0
add esp, 0x24
test eax, eax
je 0x439923
mov dword [ebp + 0x18], esi
mov dword [esp + 0x14], 1
jmp 0x439923
push 0x4bb878
push 1
push 0x252
jmp 0x439916
push 0x4bb8a4
push 1
push 0x229
push str.C:UsersAdministratorDesktop360BaseLibQHImageHlp.c
call fcn.00439340
add esp, 0x10
mov eax, dword [esp + 0x58]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x439938
push eax
call fcn.0043bec0
add esp, 4
mov eax, dword [esp]
test eax, eax
je 0x439949
push eax
call fcn.0043bec0
add esp, 4
mov eax, dword [esp + 4]
add esp, 0x50
ret