Function at 0x42b940
Capabilities:
Execute shellcode via indirect call
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov eax, dword [0x43600c]
mov ebx, edx
xor eax, ebp
mov dword [esp + 0xc8], eax
mov dword [esp + 0x10], ecx
test byte [ecx + 0x10], 4
jne 0x42b991
test ebx, ebx
je 0x42b991
mov edx, ebx
mov al, byte [edx]
mov edi, edx
cmp al, 0xff
je 0x42c45c
cmp al, 0xeb
mov edx, edi
je 0x42c472
cmp edi, edx
jne 0x42b96f
cmp edi, ebx
jne 0x42c7a7
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0
mov ecx, dword [0x436100]
mov edx, dword fs:[0x2c]
mov eax, dword [0x437404]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x42b9f8
push 0x437404
call fcn.0042e6b7
add esp, 4
cmp dword [0x437404], 0xffffffff
jne 0x42b9f8
lea esi, [esp + 0x70]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esi + 0x1c]
mov dword [0x437400], eax
push 0x437404
call fcn.0042e709
add esp, 4
xor edi, edi
mov esi, dword [0x437400]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov ecx, dword [0x436100]
mov edx, dword fs:[0x2c]
mov eax, dword [0x43740c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42c25d
push 0x437410
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esp + 0x28], 0
mov dword [esp + 0xc], ebx
mov dword [esp], esi
jne 0x42c4b3
mov dword [esp + 8], 0
mov ebx, dword [0x4373fc]
test ebx, ebx
jne 0x42ba80
mov esi, 0xc
push esi
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ebx, eax
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx], esi
mov esi, dword [esp]
mov dword [0x4373fc], ebx
cmp byte [esp + 0x28], 0
jne 0x42c4ea
cmp dword [ebx + 4], 0
jne 0x42baf0
push 0x14
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov esi, eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jne 0x42babe
mov ecx, ebx
call fcn.0042cc30
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [esp + 8]
lea eax, [eax + eax*2]
mov dword [ecx + eax*4 + 4], edi
mov dword [ecx + eax*4], edx
mov dword [ecx + eax*4 + 8], esi
inc dword [ebx + 4]
mov ebx, dword [0x4373fc]
mov esi, dword [esp]
test ebx, ebx
je 0x42c553
cmp dword [ebx + 4], 0
je 0x42c553
mov ebx, dword [ebx]
xor edi, edi
test esi, esi
mov cl, 1
je 0x42bbba
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x42bbba
cmp dword [ebx + 4], 0
jne 0x42bbad
mov ecx, dword [0x436100]
mov edx, dword fs:[0x2c]
mov eax, dword [0x437404]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x42bb69
push 0x437404
call fcn.0042e6b7
add esp, 4
cmp dword [0x437404], 0xffffffff
jne 0x42bb69
lea esi, [esp + 0x70]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esi + 0x1c]
mov esi, dword [esp]
mov dword [0x437400], eax
push 0x437404
call fcn.0042e709
add esp, 4
mov edi, dword [0x437400]
mov eax, esi
xor edx, edx
div edi
sub edi, edx
test edx, edx
cmove edi, edx
add edi, esi
mov dword [ebx + 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp byte [esp + 0x28], 0
jne 0x42c7b8
push 1
push 0x2000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x42c869
mov dword [ebx + 4], eax
mov eax, dword [ebx + 8]
test eax, eax
cmove ebx, eax
sete cl
mov edi, ebx
push 0x437410
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x42c3e6
mov ecx, dword [0x436100]
mov edx, dword fs:[0x2c]
mov eax, dword [0x43740c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42c2a5
push 0x437410
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 4]
test eax, eax
je 0x42c3c6
mov esi, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
shl esi, 7
mov edx, esi
or edx, 0x7f
cmp edx, ecx
jb 0x42bc90
cmp ecx, dword [edi + 8]
jae 0x42c3c6
mov ecx, dword [0x436100]
mov edx, dword fs:[0x2c]
mov eax, dword [0x437438]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42c2ed
mov eax, dword [edi + 4]
add eax, dword [edi + 0xc]
push 0x20
push 0x1000
push dword [0x437434]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x42c3c6
mov ecx, dword [0x436100]
mov edx, dword fs:[0x2c]
mov eax, dword [0x437438]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42c330
mov eax, dword [0x437434]
add dword [edi + 0xc], eax
mov eax, dword [edi + 4]
lea ecx, [esp + 0x74]
add eax, esi
xor edx, edx
mov dword [ecx - 4], edi
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov edx, 0x80
mov dword [ecx + 0x14], edx
mov byte [ecx + 0x18], 1
push ecx
push 0x40
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x42c55e
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x42c56b
mov eax, dword [esp + 0x74]
mov cl, byte [esp + 0x8c]
mov esi, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
test cl, cl
mov byte [esp + 8], cl
je 0x42bd03
test eax, eax
je 0x42bd03
test esi, esi
je 0x42bd03
cmp dword [esp], 0
je 0x42bd03
inc dword [edi + 0x10]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov byte [esp + 0x60], 1
push 0x437410
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp]
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
xor esi, esi
test ebx, ebx
mov dword [esp + 0x44], esi
mov byte [esp + 0x5c], 0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov al, byte [esp + 8]
mov dword [esp + 0x38], edi
mov byte [esp + 0x3c], al
mov dword [ecx], esi
mov esi, dword [esp + 0xc]
je 0x42bdc0
test edx, edx
je 0x42c58a
cmp dword [esp + 4], 0
je 0x42c591
cmp dword [esp], 0
je 0x42c1f3
test al, al
je 0x42c1f3
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x20], 0
lea edx, [ecx + 4]
je 0x42c598
cmp edx, dword [esp + 0x38]
ja 0x42c605
mov edx, dword [esp + 0x28]
mov dword [edx + ecx], eax
add dword [esp + 0x30], 4
cmp dword [esp + 0x20], 0
je 0x42be26
mov edx, dword [esp + 0x28]
test edx, edx
je 0x42c60f
cmp dword [esp + 0x2c], 0
je 0x42c61d
cmp dword [esp + 0x24], 0
je 0x42c1f3
cmp byte [esp + 0x3c], 0
je 0x42c1f3
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
lea edi, [ecx + 4]
test edx, edx
je 0x42c62b
cmp edi, dword [esp + 0x38]
ja 0x42c63b
mov edx, dword [esp + 0x28]
mov dword [edx + ecx], eax
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
add edi, 4
test eax, eax
mov dword [esp + 0x30], edi
je 0x42c62f
mov dword [esp], eax
mov al, byte [esp + 0x3c]
cmp dword [esp + 0x28], 0
je 0x42c1e7
cmp dword [esp + 0x2c], 0
je 0x42c1e7
cmp dword [esp + 0x24], 0
je 0x42c1e7
test al, al
je 0x42c1e7
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x34], edi
dec eax
mov dword [esp + 0x10], eax
xor eax, eax
mov esi, ebx
mov ecx, dword [esp + 0xc]
mov cl, byte [ecx + esi]
mov edx, ecx
cmp cl, 0x63
jg 0x42bee2
add dl, 0x10
cmp dl, 3
ja 0x42bec8
cmp dl, 1
jne 0x42c67e
add cl, 0xd2
cmp cl, 0x10
ja 0x42bf00
movzx ecx, cl
mov edx, 0x10101
bt edx, ecx
jae 0x42bf00
jmp 0x42c373
add dl, 0x9c
cmp dl, 2
jb 0x42c373
cmp cl, 0x66
je 0x42c3ed
cmp cl, 0x67
je 0x42c3f9
test al, 0xc
jne 0x42c1e7
mov edx, dword [esp + 0xc]
mov dword [esp + 0x6c], esi
mov al, byte [edx + esi]
mov ecx, eax
and cl, 0xfc
cmp cl, 0x88
jne 0x42bf4b
lea eax, [esi + 1]
mov dword [esp + 0x6c], eax
movzx eax, byte [edx + esi + 1]
mov edx, eax
shr edx, 6
cmp edx, 3
jne 0x42c383
add esi, 2
mov ebx, esi
cmp ebx, 5
mov dword [esp + 0x6c], ebx
jb 0x42bea5
jmp 0x42bf9b
cmp al, 0xe
jg 0x42bf60
cmp al, 0xa1
je 0x42c3be
cmp al, 0xb8
jne 0x42bf70
jmp 0x42c3be
cmp al, 0x33
je 0x42c748
cmp al, 0xf
je 0x42c758
mov ecx, eax
and cl, 0xf8
cmp cl, 0x40
je 0x42bf98
cmp al, 0x68
je 0x42c3be
cmp al, 0x83
je 0x42c408
mov ecx, eax
and cl, 0xf0
cmp cl, 0x50
jne 0x42c43f
inc esi
jmp 0x42bf3a
cmp dword [esp], 0
lea eax, [ebx + edi]
je 0x42c68d
cmp eax, dword [esp + 0x38]
ja 0x42c69f
add edi, dword [esp + 0x28]
push ebx
push dword [esp + 0x10]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x30]
add eax, ebx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x42c691
mov dword [esp], ecx
mov cl, byte [esp + 0x3c]
mov edi, eax
cmp dword [esp + 0x28], 0
je 0x42c1e7
cmp dword [esp + 0x2c], 0
je 0x42c1e7
cmp dword [esp + 0x24], 0
je 0x42c1e7
test cl, cl
je 0x42c1e7
xor ecx, ecx
mov eax, edi
cmp ebx, 0x64
ja 0x42c1e7
mov edx, dword [esp + 0x10]
test edx, edx
jns 0x42c6ab
test cl, cl
jne 0x42c6c7
cmp eax, dword [esp + 0x38]
jae 0x42c6dc
mov ecx, dword [esp + 0x28]
mov byte [ecx + eax], 0xe9
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x30], eax
lea ecx, [eax + 4]
test edx, edx
je 0x42c6d3
cmp ecx, dword [esp + 0x38]
ja 0x42c6bd
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
add edx, ebx
sub edx, eax
sub edx, dword [esp + 0x2c]
add edx, 0xfffffffc
mov dword [ecx + eax], edx
add dword [esp + 0x30], 4
cmp byte [esp + 0x3c], 0
je 0x42c1e7
cmp dword [esp + 0x20], 0
je 0x42c1e7
mov edi, dword [esp + 0x34]
add edi, dword [esp + 0x2c]
je 0x42c1e7
xor ebx, ebx
lea esi, [esp + 0x70]
lea ecx, [esp + 0x64]
mov edx, esi
push ebx
push ebx
call fcn.0042d0d0
add esp, 8
cmp dword [esi + 0x3c], ebx
je 0x42c1b5
cmp byte [esp + 0xa0], 0
je 0x42c1b5
lea esi, [esp + 0x84]
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x42c6e9
mov ecx, dword [esp + 0x84]
mov byte [ecx + eax], 0xe9
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x88]
inc eax
inc ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x7c], ecx
sub ebx, ecx
lea ecx, [eax + 4]
sub ebx, dword [esp + 0x74]
cmp ecx, dword [esp + 0x8c]
ja 0x42c70a
mov esi, dword [esp + 0x84]
add ebx, 0xfffffffc
mov ecx, ebx
mov edx, ebx
shr ecx, 0x10
shr edx, 0x18
mov byte [esi + eax], bl
mov byte [esi + eax + 1], bh
mov byte [esi + eax + 2], cl
mov byte [esi + eax + 3], dl
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0xac]
add eax, 4
mov dword [esp + 0x88], eax
add dword [esp + 0x7c], 4
cmp byte [esp + 0xa0], 0
je 0x42c1b5
test ecx, ecx
je 0x42c1b5
test eax, eax
je 0x42c1b0
mov ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x74]
push eax
push dword [esp + 0x88]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [esp + 0x88]
add dword [esp + 0x80], eax
mov dword [esp + 0x88], esi
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
lea esi, [esp + 0xa4]
mov ecx, esi
call fcn.0042d4d0
mov eax, dword [esi + 4]
lea ecx, [esp + 0xb4]
cmp eax, ecx
jne 0x42c72a
lea ecx, [esp + 0x90]
mov eax, dword [ecx - 0xc]
cmp eax, ecx
jne 0x42c739
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x42c64c
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x28]
cmp dword [eax], 0
setne bl
test edx, edx
je 0x42c22a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42c22a
lea esi, [esp + 0x24]
push esi
push eax
push dword [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], eax
mov byte [esi + 0x18], 0
cmp byte [esp + 0x60], 0
je 0x42c245
mov eax, dword [esp + 0x48]
test eax, eax
je 0x42c245
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x42c5a1
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.0042ee00
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x43740c
call fcn.0042e6b7
add esp, 4
cmp dword [0x43740c], 0xffffffff
jne 0x42ba2d
push 0x1000000
push 0xfa0
push 0x437410
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
mov byte [0x437408], 1
push 0x43740c
call fcn.0042e709
add esp, 4
jmp 0x42ba2d
push 0x43740c
call fcn.0042e6b7
add esp, 4
cmp dword [0x43740c], 0xffffffff
jne 0x42bbf0
push 0x1000000
push 0xfa0
push 0x437410
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
mov byte [0x437408], 1
push 0x43740c
call fcn.0042e709
add esp, 4
jmp 0x42bbf0
push 0x437438
call fcn.0042e6b7
add esp, 4
cmp dword [0x437438], 0xffffffff
jne 0x42bc42
mov ebx, edi
lea edi, [esp + 0x70]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [edi + 4]
mov edi, ebx
mov dword [0x437434], eax
push 0x437438
call fcn.0042e709
add esp, 4
jmp 0x42bc42
push 0x437438
call fcn.0042e6b7
add esp, 4
cmp dword [0x437438], 0xffffffff
jne 0x42bc85
mov ebx, edi
lea edi, [esp + 0x70]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [edi + 4]
mov edi, ebx
mov dword [0x437434], eax
push 0x437438
call fcn.0042e709
add esp, 4
jmp 0x42bc85
test al, 2
jne 0x42c1e7
or al, 2
inc esi
jmp 0x42bea9
test edx, edx
jne 0x42c41c
mov ecx, eax
and cl, 7
cmp cl, 5
je 0x42c426
cmp cl, 4
jne 0x42c89d
mov ecx, dword [esp + 0xc]
xor edx, edx
mov cl, byte [ecx + esi + 2]
and cl, 7
cmp cl, 5
sete dl
lea ecx, [edx*4 + 1]
jmp 0x42c42b
add esi, 5
jmp 0x42bf3a
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
push 0x437410
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
jmp 0x42c245
test al, 4
jne 0x42c1e7
or al, 4
jmp 0x42c37d
test al, 8
jne 0x42c1e7
or al, 8
jmp 0x42c37d
mov al, byte [edx + esi + 1]
cmp al, 0xc0
jb 0x42c787
add esi, 3
jmp 0x42bf3a
mov ecx, 2
cmp edx, 1
je 0x42c42b
mov ecx, 5
and al, 7
xor edx, edx
cmp al, 4
sete dl
add edx, ecx
lea ebx, [esi + edx + 1]
jmp 0x42bf3c
cmp al, 0xe9
je 0x42c8a5
cmp al, 0xff
je 0x42c8b1
cmp al, 0x6a
je 0x42bf37
jmp 0x42c1e7
cmp byte [edi + 1], 0x25
mov edx, edi
jne 0x42b985
mov eax, dword [edi + 2]
mov edx, dword [eax]
jmp 0x42b985
movsx eax, byte [edi + 1]
mov edx, edi
lea eax, [edi + eax + 2]
mov ecx, eax
sub ecx, edi
shl ecx, 0x18
add ecx, 0xfe000000
test ecx, ecx
jle 0x42b985
sar ecx, 0x18
xor esi, esi
mov dl, 1
cmp byte [esi + edi + 2], 0x90
jne 0x42c8d1
movsx esi, dl
inc dl
cmp ecx, esi
jg 0x42c498
mov edx, eax
jmp 0x42b985
lea ecx, [esp + 0x70]
lea esi, [esp + 0x20]
mov dword [ecx], esi
mov dword [ecx + 4], 0
call fcn.0042cc00
cmp byte [esi + 8], 0
mov esi, dword [esp]
mov dword [esp + 8], eax
je 0x42ba52
lea ecx, [esp + 0x20]
call fcn.0042cbb0
mov edi, eax
jmp 0x42ba52
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
test edx, edx
mov ecx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 4], eax
jle 0x42c5c4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 8]
mov esi, dword [esp + 4]
shr edx, 1
lea eax, [edx + edx*2]
cmp dword [esi + eax*4], ecx
jae 0x42c545
mov ecx, dword [esp + 4]
not edx
add edx, dword [esp + 0x1c]
lea ecx, [ecx + eax*4]
add ecx, 0xc
mov dword [esp + 4], ecx
test edx, edx
mov dword [esp + 0x1c], edx
jg 0x42c515
jmp 0x42c5c4
jne 0x42c53b
mov ecx, dword [esp + 4]
cmp dword [ecx + eax*4 + 4], edi
jb 0x42c527
jmp 0x42c53b
int3
mov dword [esp + 0x74], 0
jmp 0x42bcc8
mov eax, dword [esp + 0x74]
mov cl, byte [esp + 0x8c]
mov esi, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov byte [esp + 8], cl
jmp 0x42bd00
xor ebx, ebx
jmp 0x42c22a
xor ebx, ebx
jmp 0x42c204
mov dword [esp + 0x30], edx
jmp 0x42be26
lea esi, [esp + 0x44]
push esi
push ecx
push dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], eax
mov byte [esi + 0x18], 0
jmp 0x42c245
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
cmp dword [esp + 4], eax
je 0x42c92e
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
cmp dword [ecx], eax
ja 0x42c92e
mov eax, dword [esp + 4]
cmp dword [eax + 4], edi
jb 0x42c92e
mov esi, dword [esp]
mov ebx, dword [esp + 4]
jmp 0x42baf2
mov byte [esp + 0x3c], 0
jmp 0x42bdf9
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
setne bl
jmp 0x42c22a
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
setne bl
jmp 0x42c204
mov dword [esp + 0x30], edi
mov dword [esp], 0
jmp 0x42be98
mov dword [esp], edx
mov byte [esp + 0x3c], 0
xor eax, eax
mov edi, ecx
jmp 0x42be6f
xor esi, esi
mov dword [esp + 0x30], esi
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x20], esi
lea edx, [ecx + 4]
je 0x42c8c8
cmp edx, dword [esp + 0x38]
jbe 0x42c8d8
mov byte [esp + 0x3c], 0
jmp 0x42c1f3
test al, 1
jne 0x42c1e7
or al, 1
jmp 0x42c37d
mov dword [esp + 0x30], eax
mov dword [esp], 0
mov cl, 1
jmp 0x42c010
mov byte [esp + 0x3c], 0
xor ecx, ecx
jmp 0x42bfe3
mov eax, dword [esp + 0x34]
lea ecx, [edx + eax + 5]
cmp ecx, dword [esp + 0x38]
jbe 0x42c87f
mov byte [esp + 0x3c], 0
jmp 0x42c07c
lea ecx, [eax + 1]
add eax, 5
mov dword [esp + 0x30], ecx
mov ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x42c07c
mov edx, dword [esp]
mov byte [esp + 0x3c], 0
jmp 0x42c04c
xor edx, edx
mov ecx, esi
inc edx
call fcn.0042d6b0
test al, al
je 0x42c984
mov eax, dword [esp + 0x88]
mov ebx, dword [ebp + 8]
jmp 0x42c0e3
mov ecx, esi
mov edx, 4
call fcn.0042d6b0
test al, al
je 0x42c99f
mov eax, dword [esp + 0x88]
jmp 0x42c11c
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x42c1d5
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x42c1e7
cmp byte [edx + esi + 1], 0xc0
jae 0x42bf37
jmp 0x42c1e7
mov al, byte [edx + esi + 1]
and al, 0xfe
cmp al, 0x10
jne 0x42c1e7
lea eax, [esi + 2]
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], eax
call fcn.0042d060
test eax, eax
js 0x42c1e7
lea ebx, [eax + esi + 2]
jmp 0x42bf3c
mov ecx, eax
and cl, 0xc0
cmp cl, 0x40
jne 0x42c1e7
and al, 7
cmp al, 4
je 0x42c1e7
add esi, 4
jmp 0x42bf3a
mov ecx, edi
call fcn.0042b8d0
test al, al
cmovne ebx, edi
jmp 0x42b991
lea ecx, [esp + 0x70]
lea esi, [esp + 0x20]
mov dword [esp + 8], eax
mov dword [ecx], esi
mov dword [ecx + 4], 0
call fcn.0042cc00
mov ecx, esi
mov dword [esp + 4], eax
call fcn.0042cbb0
mov dword [esp], eax
mov edx, dword fs:[0x2c]
mov eax, dword [0x437430]
mov ecx, dword [0x436100]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42c9ac
mov ecx, dword [0x43742c]
test ecx, ecx
je 0x42c8e9
mov edx, dword [esp + 4]
lea eax, [esp + 0x40]
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
mov dword [eax], edx
mov edx, dword [esp]
mov dword [eax + 4], edx
xor edx, edx
xor esi, esi
inc esi
mov dword [eax + 8], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x74]
push eax
push esi
push 0x2000
push edi
xor edi, edi
push edi
push dword [esp + 0x20]
call ecx
test eax, eax
mov cl, 1
mov dword [ebx + 4], eax
jne 0x42bbad
jmp 0x42bbba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 4], 0
xor edi, edi
mov cl, 1
jmp 0x42bbba
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
sub esi, eax
lea ecx, [ecx + eax + 1]
sub esi, dword [esp + 0x2c]
add dword [edx + ecx], esi
jmp 0x42c07c
xor ecx, ecx
inc ecx
jmp 0x42c42b
lea ebx, [esi + 5]
mov dword [esp + 0x10], esi
jmp 0x42bf3c
mov eax, dword [esp + 0xc]
cmp byte [eax + esi + 1], 0x25
jne 0x42c1e7
add esi, 6
jmp 0x42bf3a
mov dword [esp + 0x30], edx
jmp 0x42c1f3
mov edx, edi
jmp 0x42b985
mov edx, dword [esp + 0x28]
mov dword [edx + ecx], eax
add dword [esp + 0x30], 4
jmp 0x42c1f3
inc dword [esp]
xor esi, esi
dec esi
inc esi
cmp esi, 7
ja 0x42bb92
mov ecx, dword [esp + 8]
mov edx, edi
push dword [esp]
push dword [esp + 8]
call fcn.0042cdf0
add esp, 8
test eax, eax
je 0x42c86f
push 1
push 0x2000
push edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x42c8ef
jmp 0x42bbaa
mov eax, dword [esp + 8]
lea esi, [esp + 0x70]
mov dword [esi + 4], edi
mov dword [esi], eax
push 0x14
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edx, dword [esp + 4]
xor edi, edi
mov dword [esi + 8], eax
mov ecx, ebx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
push esi
call fcn.0042ca60
add esp, 4
mov ebx, eax
mov eax, dword [esi + 8]
mov dword [esi + 8], edi
test eax, eax
je 0x42c97c
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov esi, dword [esp]
jmp 0x42baf2
mov byte [esp + 0xa0], 0
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x88]
jmp 0x42c106
mov byte [esp + 0xa0], 0
jmp 0x42c1b5
push 0x437430
call fcn.0042e6b7
add esp, 4
cmp dword [0x437430], 0xffffffff
jne 0x42c801
call fcn.0042cf90
push 0x437430
call fcn.0042e709
add esp, 4
jmp 0x42c801