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

Disassembly:
push 0xffffffffffffffff
push 0x4ce980
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [eax + 0x30]
push esi
push edi
call fcn.004be803
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
xor edi, edi
mov dword [esp + 0x38], edi
call fcn.004be803
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x38], 1
mov eax, dword [ebx + 0xa8]
xor esi, esi
cmp eax, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], esi
je 0x45db1a
cmp dword [ebx + 0x90], edi
je 0x45db0f
mov esi, 0x34
jmp 0x45db27
cmp eax, edi
je 0x45db1a
mov esi, 0x21
jmp 0x45db27
cmp dword [ebx + 0x90], edi
je 0x45db2b
mov esi, 0x1e
mov dword [esp + 0x10], esi
cmp dword [ebx + 0xdc], edi
je 0x45db3a
add esi, 0x1a
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
cmp eax, edi
je 0x45db53
cmp dword [eax + 0xb4], edi
je 0x45dbef
xor edi, edi
mov eax, dword [ebx + 0x8c]
cmp eax, edi
mov ecx, dword [ebx + 0x88]
ja 0x45db8a
cmp ecx, edi
ja 0x45db6d
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x6c]
cmp eax, edi
ja 0x45db8a
jb 0x45db78
cmp ecx, 0xffffffff
ja 0x45db8a
mov eax, dword [ebx + 0x5c]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x14]
lea esi, [esi + eax + 8]
jmp 0x45db9a
mov eax, dword [ebx + 0x5c]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x14]
lea esi, [esi + eax + 0x10]
mov eax, dword [ebx + 0x5c]
push 0x2e
push eax
mov dword [esp + 0x18], esi
call fcn.004ad64e
mov edi, eax
add esp, 8
test edi, edi
je 0x45dbef
push 0x4e4fcc
push edi
call fcn.004ac913
add esp, 8
test eax, eax
je 0x45dbd6
push str..collection
push edi
call fcn.004ac913
add esp, 8
test eax, eax
jne 0x45dbef
mov eax, dword [ebx + 0x128]
test eax, eax
jne 0x45dbef
add esi, 9
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 1
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x45dc6e
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
test eax, eax
je 0x45dc0b
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x45dc6e
mov eax, dword [ebx + 0x138]
add esi, 5
test eax, eax
mov dword [esp + 0x10], esi
je 0x45dc23
add esi, 7
mov dword [esp + 0x10], esi
mov eax, dword [0x5344ac]
test eax, eax
je 0x45dc6e
mov eax, dword [ebx + 0x124]
test eax, eax
jne 0x45dc5f
mov edi, dword [ebx + 0x5c]
push str..jpg
mov eax, edi
call fcn.00478fd0
add esp, 4
test eax, eax
jne 0x45dc5f
push 0x4e0344
mov eax, edi
call fcn.00478fd0
add esp, 4
test eax, eax
je 0x45dc6e
add esi, 5
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], esi
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x45dd06
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x45dc91
mov edx, dword [ecx + 0xb8]
test edx, edx
je 0x45dd06
push 0
push eax
xor edi, edi
lea esi, [esp + 0x2c]
call fcn.00490ba0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
call fcn.00403e70
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45dcd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x14]
cmp eax, 0xff
mov edx, dword [esp + 0x10]
lea ecx, [edx + eax + 4]
mov dword [esp + 0x10], ecx
jle 0x45dd06
mov edx, ecx
inc edx
cmp eax, 0xffff
mov dword [esp + 0x10], edx
jle 0x45dd06
mov eax, edx
inc eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
test eax, eax
je 0x45dd86
mov ecx, dword [eax + 0xbc]
test ecx, ecx
jne 0x45dd86
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x45def7
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dd49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dd6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
mov eax, dword [ebx + 0x108]
test eax, eax
jg 0x45dda9
mov ecx, dword [ebx + 0x10c]
mov edx, dword [ecx - 0xc]
test edx, edx
jle 0x45dee4
test eax, eax
mov ebx, dword [esp + 0x44]
jle 0x45ddfa
dec eax
push eax
lea edx, [esp + 0x18]
push str._comment_rating__i__
push edx
call fcn.004058b0
mov ebx, dword [ebx + 0x10c]
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.00490040
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add esp, 0x14
cmp eax, 0x800
jle 0x45de7d
push 0x800
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405820
mov byte [esp + 0x38], 3
jmp 0x45de50
push 0x4e5ee0
call fcn.004ac8fd
add esp, 4
push eax
push 0x4e5ee0
lea ecx, [esp + 0x1c]
call fcn.00403ee0
mov ebx, dword [ebx + 0x10c]
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00490040
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add esp, 8
cmp eax, 0x800
jle 0x45de7d
push 0x800
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405820
mov byte [esp + 0x38], 4
lea ecx, [esp + 0x14]
push eax
call fcn.00403e70
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45de7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.__comment_
call fcn.004ac8fd
add esp, 4
push eax
lea ecx, [esp + 0x18]
push str.__comment_
call fcn.00409df0
push 0x4e5ed8
mov ebx, 0x4db0f0
lea esi, [esp + 0x18]
call fcn.00478de0
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp]
add esp, 4
push ecx
mov ecx, ebp
call dword [eax + 0x14]
cmp eax, 0xff
mov edx, dword [esp + 0x10]
lea ecx, [edx + eax + 5]
mov dword [esp + 0x10], ecx
jle 0x45dee4
mov edx, ecx
inc edx
cmp eax, 0xffff
mov dword [esp + 0x10], edx
jle 0x45dee4
mov eax, edx
inc eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x128]
test eax, eax
je 0x45def7
add dword [esp + 0x10], 7
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x45df07
add dword [esp + 0x10], 8
mov eax, dword [esp + 0x10]
add eax, 4
push 1
push eax
mov edi, 0x4e5ed4
mov eax, ebp
call fcn.004468c0
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x45df9c
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x45df6f
push 0
push 0x2f
mov edi, 0x4e5ed0
mov eax, ebp
call fcn.004468c0
mov edx, dword [ebp]
push 1
push 0x4e5ecc
mov ecx, ebp
call dword [edx + 0x34]
push 0x14
lea eax, [esi + 0x94]
push eax
mov ebx, ebp
call fcn.00405b60
push 0x18
lea ecx, [esi + 0xb0]
push ecx
jmp 0x45dfce
test eax, eax
je 0x45df9c
push 0
push 0x1c
mov edi, 0x4e5ed0
mov eax, ebp
call fcn.004468c0
mov edx, dword [ebp]
push 1
push 0x4e5ec8
mov ecx, ebp
call dword [edx + 0x34]
push 0x18
lea eax, [esi + 0xb0]
jmp 0x45dfcd
mov eax, dword [esi + 0x90]
test eax, eax
je 0x45dfd5
push 0
push 0x19
mov edi, 0x4e5ed0
mov eax, ebp
call fcn.004468c0
mov edx, dword [ebp]
push 1
push 0x4dabf4
mov ecx, ebp
call dword [edx + 0x34]
push 0x14
lea eax, [esi + 0x94]
push eax
mov ebx, ebp
call fcn.00405b60
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x45e00e
push 0
push 0x15
mov edi, 0x4e5ed0
mov eax, ebp
call fcn.004468c0
mov edx, dword [ebp]
push 1
push 0x4dabec
mov ecx, ebp
call dword [edx + 0x34]
push 0x10
lea eax, [esi + 0xe0]
push eax
mov ebx, ebp
call fcn.00405b60
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 4]
test eax, eax
je 0x45e027
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x45e105
mov eax, dword [esi + 0x8c]
test eax, eax
mov ecx, dword [esi + 0x88]
ja 0x45e092
test ecx, ecx
ja 0x45e041
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
test eax, eax
ja 0x45e092
jb 0x45e04c
cmp ecx, 0xffffffff
ja 0x45e092
mov eax, dword [esi + 0x5c]
mov edx, dword [ebp]
push 0
push eax
mov ecx, ebp
call dword [edx + 0x14]
add eax, 4
push eax
mov edi, 0x4e5ec4
mov eax, ebp
call fcn.004468c0
mov eax, dword [esi + 0x8c]
test eax, eax
mov ecx, dword [esi + 0x88]
ja 0x45e084
test ecx, ecx
ja 0x45e084
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
push ecx
mov ebx, ebp
mov dword [esp + 0x2c], eax
call fcn.00416100
jmp 0x45e0df
push 0
push 8
mov edi, 0x4e5ec0
mov eax, ebp
call fcn.004468c0
mov eax, dword [esi + 0x8c]
test eax, eax
mov ecx, dword [esi + 0x88]
ja 0x45e0bc
test ecx, ecx
ja 0x45e0bc
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
push eax
push ecx
push ebp
call fcn.0045d160
mov eax, dword [esi + 0x5c]
mov edx, dword [ebp]
push 0
push eax
mov ecx, ebp
call dword [edx + 0x14]
push eax
mov edi, 0x4e5ec4
mov eax, ebp
call fcn.004468c0
mov eax, dword [esi + 0x5c]
mov edx, dword [ebp]
push 0
mov ecx, ebp
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45e105
push 0
push 0
mov edi, str.COLLECT
mov eax, ebp
call fcn.004468c0
push 1
push 0x574744
lea ecx, [esp + 0x2c]
call fcn.004a2dfe
mov byte [esp + 0x38], 5
mov edx, dword [esi + 0x8c]
test edx, edx
mov edi, dword [esi + 0x110]
mov eax, dword [esi + 0x88]
ja 0x45e13a
test eax, eax
ja 0x45e13a
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x5c]
push edi
push 0
push edx
push eax
push 4
mov edx, 0x574740
call fcn.00486370
push 0
mov ebx, eax
push 1
mov edi, 0x4e5eb4
mov eax, ebp
call fcn.004468c0
test ebx, ebx
je 0x45e16a
mov ebx, dword [ebx + 0x38]
inc ebx
jmp 0x45e16c
xor ebx, ebx
push ebx
mov ebx, ebp
call fcn.00415fa0
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 1
call fcn.004a2da4
mov eax, dword [esi + 0x58]
test eax, eax
je 0x45e1e8
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
test eax, eax
je 0x45e19e
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x45e1e8
push 0
push 0
mov edi, 0x4e5eb0
mov eax, ebp
call fcn.004468c0
mov ebx, dword [esi + 0x138]
test ebx, ebx
je 0x45e1d0
push 0
push 2
mov edi, 0x4e5eac
mov eax, ebp
call fcn.004468c0
push ebx
mov ebx, ebp
call fcn.00416000
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45e1e8
push 0
push 0
mov edi, 0x4e5ea8
mov eax, ebp
call fcn.004468c0
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x45e216
mov edx, dword [ebp]
push 0
push ebx
mov ecx, ebp
call dword [edx + 0x14]
push eax
mov edi, 0x4e5ea4
mov eax, ebp
call fcn.004468c0
mov eax, dword [ebp]
push 0
push ebx
mov ecx, ebp
call dword [eax + 0x10]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 4]
test eax, eax
je 0x45e22b
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x45e275
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x45e259
mov edx, dword [ebp]
push 0
push ebx
mov ecx, ebp
call dword [edx + 0x14]
push eax
mov edi, 0x4e4f38
mov eax, ebp
call fcn.004468c0
mov eax, dword [ebp]
push 0
push ebx
mov ecx, ebp
call dword [eax + 0x10]
mov eax, dword [esi + 0x128]
test eax, eax
je 0x45e279
push 0
push 0
mov edi, str.BOGUS
mov eax, ebp
call fcn.004468c0
jmp 0x45e279
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x45e2a3
push 0
push 4
mov edi, 0x4e5e98
mov eax, ebp
call fcn.004468c0
mov edx, dword [esi + 0x60]
push edx
mov ebx, ebp
call fcn.00416100
mov ebx, dword [esp + 0x14]
lea eax, [ebx - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e2c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e2e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8