Function at 0x42caa0
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections
Resolve function by parsing pe exports
Write file on windows

Disassembly:
sub esp, 0x16c
push ebx
mov ebx, dword [0x4b03d4]
mov ecx, ebx
push ebp
push esi
push edi
mov dword [esp + 0xb4], ebx
call fcn.00447220
mov esi, eax
test esi, esi
je 0x42db22
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x1c]
push 0
push eax
push 4
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x50555245
push eax
push esi
call ebx
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
push eax
push 4
lea eax, [esp + 0x30]
push eax
push esi
call ebx
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0x52455339
push eax
push 4
lea eax, [esp + 0x30]
push eax
push esi
call ebx
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0x53524354
push eax
push 4
lea eax, [esp + 0x30]
push eax
push esi
call ebx
push 0
lea eax, [esp + 0x138]
mov dword [esp + 0xbc], 0
push eax
push 4
lea eax, [esp + 0xc4]
push eax
push esi
call ebx
mov ecx, dword [0x492108]
mov dword [ecx + 0x1000], 0
call fcn.00428870
mov ebp, eax
mov dword [esp + 0x70], ebp
test ebp, ebp
je 0x42d3b3
jmp 0x42cb80
test byte [ebp + 0x1a], 2
jne 0x42d39a
mov edx, dword [ebp + 8]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cb92
push 0
lea eax, [esp + 0x13c]
sub ecx, edi
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0x140]
mov byte [esp + 0x1c], 0
push eax
push 1
lea eax, [esp + 0x24]
push eax
push esi
call ebx
mov eax, dword [ebp + 0x14]
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x144]
push eax
push 4
lea eax, [esp + 0x30]
push eax
push esi
call ebx
movzx eax, word [ebp + 0x18]
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x148]
push eax
push 2
lea eax, [esp + 0x30]
push eax
push esi
call ebx
mov ax, word [ebp + 0x1a]
mov ecx, 0xfffff797
and ax, cx
movzx eax, ax
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14c]
push eax
push 2
lea eax, [esp + 0x30]
push eax
push esi
call ebx
mov al, byte [ebp + 0x34]
push 0
mov byte [esp + 0x1c], al
lea eax, [esp + 0xf0]
push eax
push 1
lea eax, [esp + 0x24]
push eax
push esi
call ebx
mov eax, dword [ebp + 0x24]
push 0
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xf4]
push eax
push 4
lea eax, [esp + 0xc8]
push eax
push esi
call ebx
xor eax, eax
test byte [ebp + 0x1a], 4
je 0x42cfce
mov dword [esp + 0xb0], eax
cmp ax, word [ebp + 0x18]
jge 0x42d39a
xor edx, edx
mov dword [esp + 0x24], edx
mov edi, dword [ebp + 0x1c]
add edi, edx
push 0
mov dword [esp + 0x3c], edi
movzx eax, byte [edi + 4]
mov byte [esp + 0x1c], al
lea eax, [esp + 0x124]
push eax
push 1
lea eax, [esp + 0x24]
push eax
push esi
call ebx
movzx eax, byte [edi + 5]
push 0
mov byte [esp + 0x1c], al
lea eax, [esp + 0x150]
push eax
push 1
lea eax, [esp + 0x24]
push eax
push esi
call ebx
movzx eax, byte [edi + 6]
push 0
mov byte [esp + 0x1c], al
lea eax, [esp + 0x154]
push eax
push 1
lea eax, [esp + 0x24]
push eax
push esi
call ebx
mov edx, dword [edi]
mov ecx, edx
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cce4
push 0
lea eax, [esp + 0x158]
sub ecx, ebp
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0x15c]
mov byte [esp + 0x40], 0
push eax
push 1
lea eax, [esp + 0x48]
push eax
push esi
call ebx
mov cl, byte [edi + 4]
lea ebp, [edi + 0xc]
mov dword [esp + 0x78], 0
test cl, cl
jle 0x42cefa
xor edi, edi
lea ecx, [ecx]
mov eax, dword [ebp]
push 0
mov al, byte [edi + eax + 0xa]
mov byte [esp + 0x44], al
lea eax, [esp + 0x160]
push eax
push 1
lea eax, [esp + 0x4c]
push eax
push esi
call ebx
mov ecx, dword [ebp]
add ecx, edi
movsx eax, byte [ecx + 0xa]
sub eax, 0xe
je 0x42ce6f
sub eax, 1
je 0x42cde2
sub eax, 7
jne 0x42ced8
mov eax, dword [ecx]
push 0
mov al, byte [eax]
mov byte [esp + 0x48], al
lea eax, [esp + 0x164]
push eax
push 1
lea eax, [esp + 0x50]
push eax
push esi
call ebx
mov eax, dword [ebp]
mov eax, dword [edi + eax]
cmp byte [eax], 7
jne 0x42ced8
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cdb0
sub ecx, dword [esp + 0x30]
lea eax, [esp + 0x164]
push 0
push eax
push ecx
push edx
push esi
call ebx
lea eax, [esp + 0x168]
mov byte [esp + 0x48], 0
push 0
push eax
lea eax, [esp + 0x50]
jmp 0x42ced2
mov eax, dword [ecx]
push 0
movzx eax, byte [eax]
mov byte [esp + 0x50], al
lea eax, [esp + 0x170]
push eax
push 1
lea eax, [esp + 0x58]
push eax
push esi
call ebx
mov eax, dword [ebp]
push 0
mov eax, dword [edi + eax]
movzx eax, byte [eax + 1]
mov byte [esp + 0x54], al
lea eax, [esp + 0x174]
push eax
push 1
lea eax, [esp + 0x5c]
push eax
push esi
call ebx
mov eax, dword [ebp]
mov eax, dword [edi + eax]
cmp byte [eax], 7
jne 0x42ced8
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ce40
sub ecx, dword [esp + 0x30]
lea eax, [esp + 0x174]
push 0
push eax
push ecx
push edx
push esi
call ebx
lea eax, [esp + 0xf4]
mov byte [esp + 0x54], 0
push 0
push eax
lea eax, [esp + 0x5c]
jmp 0x42ced2
mov eax, dword [ecx]
push 0
mov al, byte [eax]
mov byte [esp + 0x5c], al
lea eax, [esp + 0xfc]
push eax
push 1
lea eax, [esp + 0x64]
push eax
push esi
call ebx
mov eax, dword [ebp]
mov eax, dword [edi + eax]
cmp byte [eax], 7
jne 0x42ced8
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cea5
sub ecx, dword [esp + 0x30]
lea eax, [esp + 0xfc]
push 0
push eax
push ecx
push edx
push esi
call ebx
lea eax, [esp + 0x100]
mov byte [esp + 0x5c], 0
push 0
push eax
lea eax, [esp + 0x64]
push 1
push eax
push esi
call ebx
mov eax, dword [esp + 0x38]
add edi, 0xc
mov edx, dword [esp + 0x78]
inc edx
mov dword [esp + 0x78], edx
mov cl, byte [eax + 4]
movsx eax, cl
cmp edx, eax
jl 0x42cd30
mov edi, dword [esp + 0x38]
movsx eax, byte [edi + 6]
xor edi, edi
movsx ecx, cl
sub ecx, eax
test eax, eax
jle 0x42cf9f
lea ecx, [ecx + ecx*2]
shl ecx, 2
mov dword [esp + 0x78], ecx
jmp 0x42cf20
mov eax, dword [ebp]
mov cl, byte [ecx + eax + 0xa]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
lea eax, [eax + edi*8]
cmp cl, 8
je 0x42cf49
cmp cl, 0xa
je 0x42cf49
push 0
lea ecx, [esp + 0x108]
push ecx
push 8
jmp 0x42cf83
mov edx, dword [eax]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cf54
sub ecx, dword [esp + 0x30]
lea eax, [esp + 0x108]
push 0
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0x110]
mov byte [esp + 0x64], 0
push eax
push 1
lea eax, [esp + 0x6c]
push eax
push esi
call ebx
mov eax, dword [esp + 0x38]
inc edi
mov ecx, dword [esp + 0x78]
add ecx, 0xc
mov dword [esp + 0x78], ecx
movsx eax, byte [eax + 6]
cmp edi, eax
jl 0x42cf20
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x24]
inc ecx
add edx, 0x10
mov dword [esp + 0xb0], ecx
movsx eax, word [ebp + 0x18]
mov dword [esp + 0x24], edx
cmp ecx, eax
jl 0x42cc80
jmp 0x42d39a
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0x24], 0
cmp ax, word [ebp + 0x18]
jge 0x42d39a
mov edx, dword [edi]
mov ecx, edx
lea ebp, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cff0
push 0
lea eax, [esp + 0x114]
sub ecx, ebp
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0x118]
mov byte [esp + 0x1c], 0
push eax
push 1
lea eax, [esp + 0x24]
push eax
push esi
call ebx
mov al, byte [edi + 0x26]
push 0
mov byte [esp + 0x1c], al
lea eax, [esp + 0x11c]
push eax
push 1
lea eax, [esp + 0x24]
push eax
push esi
call ebx
movzx eax, word [edi + 0x24]
push 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x120]
push eax
push 2
lea eax, [esp + 0x3c]
push eax
push esi
call ebx
mov edx, dword [edi + 8]
mov ecx, edx
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d060
push 0
lea eax, [esp + 0x17c]
sub ecx, ebp
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0x128]
mov byte [esp + 0x1c], 0
push eax
push 1
lea eax, [esp + 0x24]
push eax
push esi
call ebx
mov eax, dword [edi + 0x18]
push 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x12c]
push eax
push 4
lea eax, [esp + 0x3c]
push eax
push esi
call ebx
mov eax, dword [edi + 0x1c]
push 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x130]
push eax
push 4
lea eax, [esp + 0x3c]
push eax
push esi
call ebx
mov eax, dword [edi + 0x20]
push 0
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x134]
push eax
push 4
lea eax, [esp + 0xcc]
push eax
push esi
call ebx
movsx eax, byte [edi + 0x26]
sub eax, 0xe
je 0x42d2e2
sub eax, 1
je 0x42d1e0
sub eax, 7
jne 0x42d37e
mov eax, dword [edi + 0x10]
push 0
mov al, byte [eax + 0x1c]
mov byte [esp + 0x78], al
lea eax, [esp + 0xd8]
push eax
push 1
lea eax, [esp + 0x80]
push eax
push esi
call ebx
mov eax, dword [edi + 0x10]
push 0
mov eax, dword [eax + 0x24]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xdc]
push eax
push 4
lea eax, [esp + 0xd0]
push eax
push esi
call ebx
mov eax, dword [edi + 0x10]
push 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0xe0]
push eax
push 4
lea eax, [esp + 0xd4]
push eax
push esi
call ebx
mov eax, dword [edi + 0x10]
push 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xe4]
push eax
push 4
lea eax, [esp + 0xd8]
push eax
push esi
call ebx
mov eax, dword [edi + 0x10]
cmp dword [eax + 0x1c], 7
jne 0x42d37e
mov eax, dword [eax + 0x20]
mov edx, dword [eax + 8]
mov ecx, edx
lea ebp, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d1b0
push 0
lea eax, [esp + 0xe8]
sub ecx, ebp
push eax
push ecx
push edx
push esi
call ebx
lea eax, [esp + 0xe8]
mov byte [esp + 0x64], 0
push 0
push eax
lea eax, [esp + 0x6c]
jmp 0x42d378
mov eax, dword [edi + 0x10]
push 0
movzx eax, byte [eax + 0x14]
mov byte [esp + 0x6c], al
lea eax, [esp + 0x9c]
push eax
push 1
lea eax, [esp + 0x74]
push eax
push esi
call ebx
mov eax, dword [edi + 0x10]
push 0
movzx eax, byte [eax + 0x18]
mov byte [esp + 0x70], al
lea eax, [esp + 0xa0]
push eax
push 1
lea eax, [esp + 0x78]
push eax
push esi
call ebx
mov eax, dword [edi + 0x10]
push 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xa8]
push eax
push 4
lea eax, [esp + 0xdc]
push eax
push esi
call ebx
mov eax, dword [edi + 0x10]
push 0
mov eax, dword [eax + 0x20]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xac]
push eax
push 4
lea eax, [esp + 0xac]
push eax
push esi
call ebx
mov eax, dword [edi + 0x10]
xor ebp, ebp
cmp dword [eax + 0x18], ebp
jle 0x42d29d
mov eax, dword [eax + 0x28]
push 0
mov eax, dword [eax + ebp*4]
mov dword [esp + 0x80], eax
lea eax, [esp + 0xb0]
push eax
push 4
lea eax, [esp + 0x88]
push eax
push esi
call ebx
mov eax, dword [edi + 0x10]
inc ebp
cmp ebp, dword [eax + 0x18]
jl 0x42d270
cmp dword [eax + 0x14], 7
jne 0x42d37e
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + 8]
mov ecx, edx
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d2b2
push 0
lea eax, [esp + 0x84]
sub ecx, ebp
push eax
push ecx
push edx
push esi
call ebx
lea eax, [esp + 0x84]
mov byte [esp + 0x28], 0
push 0
push eax
lea eax, [esp + 0x30]
jmp 0x42d378
mov eax, dword [edi + 0x10]
push 0
mov al, byte [eax + 0x14]
mov byte [esp + 0x24], al
lea eax, [esp + 0x8c]
push eax
push 1
lea eax, [esp + 0x2c]
push eax
push esi
call ebx
mov eax, dword [edi + 0x10]
push 0
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x90]
push eax
push 4
lea eax, [esp + 0x38]
push eax
push esi
call ebx
mov eax, dword [edi + 0x10]
push 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x94]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push esi
call ebx
mov eax, dword [edi + 0x10]
cmp dword [eax + 0x14], 7
jne 0x42d37e
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 8]
mov ecx, edx
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d350
push 0
lea eax, [esp + 0x98]
sub ecx, ebp
push eax
push ecx
push edx
push esi
call ebx
lea eax, [esp + 0x34]
mov byte [esp + 0x14], 0
push 0
push eax
lea eax, [esp + 0x1c]
push 1
push eax
push esi
call ebx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x24]
mov edi, dword [edi + 4]
inc ecx
mov dword [esp + 0x24], ecx
movsx eax, word [eax + 0x18]
cmp ecx, eax
jl 0x42cfe3
mov ecx, dword [0x492108]
call fcn.00428870
mov ebp, eax
mov dword [esp + 0x70], eax
test ebp, ebp
jne 0x42cb80
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
mov dword [esp + 0x74], eax
lea eax, [esp + 0x38]
push eax
push 4
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x434e5354
push eax
push esi
call ebx
push 0
lea eax, [esp + 0x38]
mov dword [esp + 0x20], 0
push eax
push 4
lea eax, [esp + 0x28]
push eax
push esi
call ebx
mov ecx, dword [0x49217c]
mov dword [ecx + 0x1000], 0
call fcn.00428870
mov ebp, eax
test ebp, ebp
je 0x42d647
test byte [ebp + 0x10], 0x12
jne 0x42d632
mov edx, dword [ebp + 8]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d427
push 0
lea eax, [esp + 0x98]
sub ecx, edi
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0x94]
mov byte [esp + 0x18], 0
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov eax, dword [ebp + 0x10]
lea edi, [ebp + 0x18]
test al, 4
je 0x42d4c0
cmp dword [ebp + 0x1c], 0
push 0
jne 0x42d49d
lea eax, [esp + 0x90]
mov byte [esp + 0x18], 4
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x88]
push 0
push eax
push 4
lea eax, [esp + 0x38]
push eax
jmp 0x42d62f
lea eax, [esp + 0x88]
mov byte [esp + 0x18], 5
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
lea eax, [esp + 0x80]
jmp 0x42d629
test al, 8
je 0x42d517
push 0
lea eax, [esp + 0xb0]
mov byte [esp + 0x18], 6
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov edx, dword [edi]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d4e4
push 0
lea eax, [esp + 0xac]
sub ecx, edi
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0xa8]
mov byte [esp + 0x24], 0
push eax
push 1
lea eax, [esp + 0x2c]
push eax
jmp 0x42d62f
mov ecx, dword [edi]
mov ebp, ecx
mov edx, dword [edi + 4]
add ebp, 0x80
mov eax, edx
adc eax, 0
test eax, eax
ja 0x42d56c
jb 0x42d537
cmp ebp, 0xff
ja 0x42d56c
push 0
lea eax, [esp + 0xa0]
mov byte [esp + 0x18], 0
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov al, byte [edi]
mov byte [esp + 0x28], al
lea eax, [esp + 0x98]
push 0
push eax
push 1
lea eax, [esp + 0x34]
push eax
jmp 0x42d62f
mov ebp, ecx
mov eax, edx
add ebp, 0x8000
adc eax, 0
test eax, eax
ja 0x42d5bd
jb 0x42d587
cmp ebp, 0xffff
ja 0x42d5bd
push 0
lea eax, [esp + 0xec]
mov byte [esp + 0x18], 1
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
movzx eax, word [edi]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0xe4]
push 0
push eax
push 2
lea eax, [esp + 0x88]
push eax
jmp 0x42d62f
add ecx, 0x80000000
adc edx, 0
test edx, edx
ja 0x42d609
jb 0x42d5d1
cmp ecx, 0xffffffff
ja 0x42d609
push 0
lea eax, [esp + 0xe4]
mov byte [esp + 0x18], 2
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov eax, dword [edi]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xdc]
push 0
push eax
push 4
lea eax, [esp + 0xac]
push eax
jmp 0x42d62f
push 0
lea eax, [esp + 0xdc]
mov byte [esp + 0x18], 3
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
lea eax, [esp + 0xd4]
push 0
push eax
push 8
push edi
push esi
call ebx
mov ecx, dword [0x49217c]
call fcn.00428870
mov ebp, eax
test ebp, ebp
jne 0x42d415
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push 4
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x5243414d
push eax
push esi
call ebx
push 0
lea eax, [esp + 0x38]
mov dword [esp + 0x20], 0
push eax
push 4
lea eax, [esp + 0x28]
push eax
push esi
call ebx
mov ecx, dword [0x492130]
mov dword [ecx + 0x1000], 0
call fcn.00428870
mov edi, eax
test edi, edi
je 0x42d837
lea esp, [esp]
test byte [edi + 0x20], 1
jne 0x42d828
mov edx, dword [edi + 8]
mov ecx, edx
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d6c2
push 0
lea eax, [esp + 0x98]
sub ecx, ebp
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0x94]
mov byte [esp + 0x18], 0
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov eax, dword [edi + 0x20]
or eax, 1
push 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x90]
push eax
push 4
lea eax, [esp + 0x38]
push eax
push esi
call ebx
mov al, byte [edi + 0x24]
push 0
mov byte [esp + 0x18], al
lea eax, [esp + 0x8c]
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
xor ebp, ebp
cmp dword [edi + 0x24], ebp
jle 0x42d77b
mov eax, dword [edi + 0x10]
mov edx, dword [eax + ebp*4]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d742
sub ecx, dword [esp + 0x2c]
lea eax, [esp + 0x84]
push 0
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0x84]
mov byte [esp + 0x18], 0
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
inc ebp
cmp ebp, dword [edi + 0x24]
jl 0x42d733
mov al, byte [edi + 0x28]
push 0
mov byte [esp + 0x18], al
lea eax, [esp + 0xb0]
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
xor ebp, ebp
cmp dword [edi + 0x28], ebp
jle 0x42d7e9
lea ecx, [ecx]
mov eax, dword [edi + 0x14]
mov edx, dword [eax + ebp*4]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d7b0
sub ecx, dword [esp + 0x2c]
lea eax, [esp + 0xa8]
push 0
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0xa8]
mov byte [esp + 0x18], 0
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
inc ebp
cmp ebp, dword [edi + 0x28]
jl 0x42d7a0
mov edx, dword [edi + 0x18]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d7f1
push 0
lea eax, [esp + 0xa0]
sub ecx, edi
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0x9c]
mov byte [esp + 0x18], 0
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [0x492130]
call fcn.00428870
mov edi, eax
test edi, edi
jne 0x42d6b0
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
mov dword [esp + 0x1c], 0x544f5250
push 0
lea eax, [esp + 0x38]
mov dword [esp + 0x80], ebp
push eax
push 4
lea eax, [esp + 0x28]
push eax
push esi
call ebx
push 0
lea eax, [esp + 0x38]
mov dword [esp + 0x20], 0
push eax
push 4
lea eax, [esp + 0x28]
push eax
push esi
call ebx
mov ecx, dword [0x492114]
mov dword [ecx + 0x1000], 0
call fcn.00428870
mov edi, eax
test edi, edi
je 0x42da35
mov edi, edi
test byte [edi + 0x24], 1
jne 0x42da1c
mov edx, dword [edi + 8]
mov ecx, edx
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d8b2
push 0
lea eax, [esp + 0x98]
sub ecx, ebp
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0x94]
mov byte [esp + 0x18], 0
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
movzx eax, byte [edi + 0x38]
push 0
mov byte [esp + 0x18], al
lea eax, [esp + 0x90]
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
movzx eax, word [edi + 0x30]
push 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x8c]
push eax
push 2
lea eax, [esp + 0x38]
push eax
push esi
call ebx
movzx eax, byte [edi + 0x1c]
push 0
mov byte [esp + 0x18], al
lea eax, [esp + 0x88]
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
movzx eax, byte [edi + 0x40]
push 0
mov byte [esp + 0x18], al
lea eax, [esp + 0x84]
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov eax, dword [edi + 0x20]
push 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0xb0]
push eax
push 4
lea eax, [esp + 0x38]
push eax
push esi
call ebx
push 0
lea eax, [esp + 0xac]
push eax
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [edi + 0x2c]
push esi
call ebx
movsx eax, word [edi + 0x40]
mov ecx, dword [edi + 0x1c]
sub ecx, eax
xor ebp, ebp
test eax, eax
jle 0x42da1c
lea ecx, [ecx + ecx*2]
shl ecx, 2
mov dword [esp + 0x24], ecx
mov eax, dword [edi + 0x2c]
mov cl, byte [ecx + eax + 0xa]
mov eax, dword [edi + 0x3c]
lea eax, [eax + ebp*8]
cmp cl, 8
je 0x42d9ca
cmp cl, 0xa
je 0x42d9ca
push 0
lea ecx, [esp + 0xa8]
push ecx
push 8
jmp 0x42da04
mov edx, dword [eax]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d9d5
sub ecx, dword [esp + 0x2c]
lea eax, [esp + 0x9c]
push 0
push eax
push ecx
push edx
push esi
call ebx
push 0
lea eax, [esp + 0x9c]
mov byte [esp + 0x24], 0
push eax
push 1
lea eax, [esp + 0x2c]
push eax
push esi
call ebx
mov ecx, dword [esp + 0x24]
inc ebp
movsx eax, word [edi + 0x40]
add ecx, 0xc
mov dword [esp + 0x24], ecx
cmp ebp, eax
jl 0x42d9a5
mov ecx, dword [0x492114]
call fcn.00428870
mov edi, eax
test edi, edi
jne 0x42d8a0
mov ebp, dword [esp + 0x7c]
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0x10
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x34]
push 0
push eax
push 4
lea eax, [esp + 0x28]
add ecx, 0xffffffec
push eax
push esi
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [esp + 0x70]
push 0
push 0
add eax, 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x70]
sub eax, 8
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x38]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push esi
call ebx
mov eax, dword [esp + 0x38]
push 0
push 0
add eax, 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, ebp
sub eax, dword [esp + 0x38]
sub eax, 8
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x38]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push esi
call ebx
push 0
push 0
lea eax, [ebp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x38]
sub edi, ebp
push eax
push 4
lea eax, [esp + 0x28]
sub edi, 8
push eax
push esi
mov dword [esp + 0x30], edi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0xb4]
push str.Resident__s_created._n
call fcn.00412ad0
mov eax, esi
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
push ebx
push 0x13d
mov dword [0x4a9ec4], 0xffffffff
call fcn.00412c30
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret