Function at 0x42af80
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x78]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, ecx
and eax, 0x800
je 0x42afb8
test byte [ebx + 0x80], 4
jne 0x42b328
mov edx, dword [ebx + 0x7c]
mov esi, edx
and esi, 0x80000
test dl, 4
je 0x42b008
and ecx, 2
jne 0x42b015
and dh, 2
je 0x42b2c0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x42afea
mov edx, dword [esp + 0x20]
test edx, edx
je 0x42b2c0
mov edi, 0x1c00
mov word [esp + 0x14], di
test esi, esi
jne 0x42b038
mov edx, 0x1400
mov word [esp + 0x14], dx
jmp 0x42b038
test esi, esi
je 0x42b015
and ecx, 2
je 0x42b2e0
xor ecx, ecx
not edx
mov word [esp + 0x14], cx
and dh, 0x22
jne 0x42b038
xor ecx, ecx
mov esi, dword [esp + 0x20]
or esi, dword [esp + 0x1c]
setne cl
shl ecx, 0xc
mov word [esp + 0x14], cx
test eax, eax
jne 0x42b088
mov edi, dword [ebx + 0x80]
and edi, 0x100
mov dword [esp + 0x18], edi
je 0x42b3a8
mov eax, dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x18], 0x40
mov esi, 0x800000
mov dword [esp + 0x10], eax
mov dword [esp], esi
mov eax, dword [esp + 0x10]
call eax
mov dword [ebp], eax
sub esp, 4
mov eax, dword [esp + 0x18]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x68]
mov edx, 0xa0
cmp eax, edx
cmovg eax, edx
cmp eax, 4
jae 0x42b290
test eax, eax
je 0x42b0ae
mov byte [ebp], 0
test al, 2
jne 0x42bd99
mov edi, dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp], 0x20002
mov dword [esp + 0x10], edi
call edi
sub esp, 4
mov dword [ebp + 0x34], eax
mov dword [esp], 1
call edi
mov dword [ebp + 0x38], eax
movzx eax, byte [ebx + 0x50]
sub esp, 4
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_htons]
mov dword [esp + 0x24], eax
call eax
mov word [ebp + 0x3e], ax
sub esp, 4
test byte [ebx + 0x7b], 1
je 0x42b8e0
mov esi, dword [ebx + 0x98]
mov edi, dword [ebx + 0x9c]
mov eax, esi
or eax, edi
je 0x42b8e0
cmp byte [ebx + 0xa0], 1
je 0x42bd40
mov dword [esp], esi
mov eax, dword [esp + 0x10]
call eax
mov dword [ebp + 0x40], eax
mov eax, edi
sub esp, 4
shl eax, 8
mov dword [esp], eax
mov eax, dword [esp + 0x10]
call eax
sub esp, 4
mov dword [ebp + 0x44], eax
lea eax, [ebp + 0x10]
mov esi, 0x48000000
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.Settings_GenerateClientHdrV1_thread_Settings__client_hdr_v1_
mov edx, eax
lea eax, [eax + 0x28]
mov word [esp + 0x18], ax
test byte [ebx + 0x78], 2
jne 0x42b195
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x42b195
cmp eax, 1
mov dword [esp + 0x28], edx
sete al
movzx eax, al
mov esi, eax
mov eax, dword [esp + 0x10]
sub esi, 0x38000000
mov dword [esp], esi
call eax
sub esp, 4
mov dword [ebp + 0x10], eax
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x7c]
test ah, 1
je 0x42b1bc
movzx ecx, word [esp + 0x14]
or esi, 0x20000000
mov edi, ecx
or ecx, 6
or edi, 4
test byte [ebx + 0x78], 8
cmove ecx, edi
mov word [esp + 0x14], cx
test al, 8
je 0x42b8c5
or esi, 0x60000000
test eax, 0x80004
jne 0x42b6e0
or word [esp + 0x14], 1
test eax, 0x200000
je 0x42b1ee
or word [esp + 0x14], 8
or esi, 0x60000000
test ah, 0x32
je 0x42b20e
or esi, 0x20000000
test ah, 0x22
jne 0x42bc70
mov eax, dword [ebx + 0x7c]
test ah, 0x10
jne 0x42bc38
movzx eax, word [esp + 0x14]
mov edi, dword [esp + 0x24]
mov dword [esp], eax
call edi
sub esp, 4
mov word [ebp + 0x30], ax
mov dword [esp], 0
call edi
sub esp, 4
mov word [ebp + 0x32], ax
test dword [ebx + 0x7c], 0x3008
movzx edx, word [esp + 0x18]
mov dword [esp + 0x18], 0
lea eax, [edx + 0x20]
cmove eax, edx
mov edi, eax
test ax, ax
je 0x42b26d
add edi, 0x10
movzx edi, di
lea eax, [edi + edi]
mov dword [esp + 0x18], edi
movzx eax, ax
or eax, esi
or eax, 0x10000
mov esi, eax
mov dword [esp], esi
mov eax, dword [esp + 0x10]
call eax
sub esp, 4
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x18]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp + 4]
mov edx, ebp
mov dword [ebp], 0
and edi, 0xfffffffc
mov dword [ebp + eax - 4], 0
sub edx, edi
lea ecx, [eax + edx]
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
jmp 0x42b0ae
cmp esi, 1
sbb esi, esi
and si, 0xf800
add si, 0xc00
mov word [esp + 0x14], si
jmp 0x42b038
mov ecx, 0x800
mov word [esp + 0x14], cx
and dh, 2
je 0x42b038
mov edi, dword [esp + 0x1c]
mov esi, 0x1800
mov word [esp + 0x14], si
test edi, edi
jne 0x42b038
cmp dword [esp + 0x20], 1
sbb esi, esi
and si, 0xf000
add si, 0x1800
mov word [esp + 0x14], si
jmp 0x42b038
mov edx, dword [ebx + 0x68]
mov eax, 0x1c
cmp edx, eax
cmovle eax, edx
xor edi, edi
mov dword [esp + 0x18], eax
cmp eax, 4
jae 0x42ba90
test eax, eax
je 0x42b360
mov byte [ebp], 0
test al, 2
je 0x42b360
mov eax, dword [esp + 0x18]
xor esi, esi
mov word [ebp + eax - 2], si
lea esi, [esi]
nop
mov dword [esp], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp + 0x10], ax
sub esp, 4
test byte [ebx + 0x7d], 2
je 0x42b077
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
or ebx, eax
je 0x42b077
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp + 0x14], eax
sub esp, 4
jmp 0x42b077
mov ecx, dword [ebx + 0x68]
mov edx, 0x114
cmp ecx, edx
cmovg ecx, edx
cmp ecx, 4
jae 0x42b980
test ecx, ecx
jne 0x42bb30
mov edi, dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp], 0x20002
mov dword [esp + 0x10], edi
call edi
sub esp, 4
mov dword [ebp + 0x24], eax
mov dword [esp], 1
call edi
mov dword [ebp + 0x28], eax
movzx eax, byte [ebx + 0x50]
sub esp, 4
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_htons]
mov dword [esp + 0x24], eax
call eax
mov word [ebp + 0x2e], ax
sub esp, 4
test byte [ebx + 0x7b], 1
jne 0x42ba60
mov dword [esp + 4], ebp
mov dword [esp], ebx
call sym.Settings_GenerateClientHdrV1_thread_Settings__client_hdr_v1_
mov edi, eax
mov eax, dword [ebx + 0x78]
test al, 2
jne 0x42b430
mov edx, dword [ebx + 0x8c]
test edx, edx
jne 0x42b444
mov esi, 0x40000000
test byte [ebx + 0x82], 0x80
je 0x42b454
mov edx, dword [ebx + 0x8c]
xor ecx, ecx
cmp edx, 1
sete cl
mov esi, ecx
sub esi, 0x40000000
mov edx, dword [ebx + 0x7c]
mov ecx, edx
and ecx, 1
neg ecx
and ecx, 0x6000000
or esi, ecx
test edx, 0x3208
jne 0x42b900
mov ecx, dword [ebx + 0x80]
and eax, 0x400000
and ecx, 0x40000
or eax, ecx
jne 0x42b900
lea eax, [edi + 0x28]
mov word [esp + 0x1c], ax
mov eax, dword [ebx + 0x39c]
xor edi, edi
test eax, eax
jne 0x42ba40
mov eax, dword [ebx + 0x80]
mov ecx, eax
and ecx, 1
test dl, 8
jne 0x42b9a8
test ecx, ecx
je 0x42bb18
or word [esp + 0x14], 0x2000
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x320]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
mov eax, dword [esp + 0x10]
call eax
sub esp, 4
mov dword [ebp + 0x50], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x320]
fldcw word [esp + 0x2c]
fist dword [esp + 0x20]
fldcw word [esp + 0x2e]
mov eax, dword [esp + 0x10]
fild dword [esp + 0x20]
fsubp st(1)
fmul qword [0x463d90]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
call eax
sub esp, 4
mov dword [ebp + 0x54], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x350]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
mov eax, dword [esp + 0x10]
call eax
sub esp, 4
mov dword [ebp + 0x60], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x350]
fldcw word [esp + 0x2c]
fist dword [esp + 0x20]
fldcw word [esp + 0x2e]
mov eax, dword [esp + 0x10]
fild dword [esp + 0x20]
fsubp st(1)
fmul qword [0x463d90]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
call eax
mov dword [ebp + 0x64], eax
sub esp, 4
test byte [ebx + 0x80], 1
je 0x42bb50
mov eax, dword [ebx + 0x330]
mov dword [esp], eax
mov eax, dword [esp + 0x10]
call eax
mov dword [ebp + 0x58], eax
sub esp, 4
add word [esp + 0x1c], 0x20
mov eax, dword [ebx + 0x80]
mov edx, eax
and edx, 0x40000
test edx, edx
je 0x42b9d0
test ah, 0x60
je 0x42b9d0
mov eax, dword [ebx + 0x300]
test eax, eax
je 0x42b660
mov dword [esp], eax
call sym._strlen
test ax, ax
je 0x42b660
movzx edx, ax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
or di, 0x8000
mov dword [esp], edx
mov dword [esp + 0x20], edx
call eax
sub esp, 4
mov word [ebp + 0x70], ax
lea eax, [ebp + 0x72]
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x300]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._memcpy
movzx eax, word [esp + 0x1c]
mov ecx, dword [esp + 0x28]
lea eax, [eax + ecx + 2]
mov word [esp + 0x1c], ax
lea esi, [esi]
nop
mov eax, esi
or eax, 0x4000000
test dword [ebx + 0x7c], 0x80004
cmovne esi, eax
movzx eax, word [esp + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call eax
mov word [ebp + 0x20], ax
sub esp, 4
movzx eax, di
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call eax
sub esp, 4
mov word [ebp + 0x22], ax
movzx ecx, word [esp + 0x1c]
test cx, cx
je 0x42b068
mov eax, dword [ebx + 0x7c]
mov edx, esi
or edx, 0x10000
and eax, 0x10040000
cmp eax, 0x10000000
je 0x42bcb0
movzx eax, word [esp + 0x1c]
add eax, eax
and eax, 0xfffe
or eax, edx
mov esi, eax
movzx eax, cx
mov dword [esp + 0x18], eax
jmp 0x42b068
fnstcw word [esp + 0x2e]
mov dword [esp + 0x28], edx
mov edi, dword [esp + 0x10]
or word [esp + 0x14], 0x41
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x320]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
call edi
sub esp, 4
mov dword [ebp + 0x80], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x320]
fldcw word [esp + 0x2c]
fist dword [esp + 0x18]
fldcw word [esp + 0x2e]
fild dword [esp + 0x18]
fsubp st(1)
fmul qword [0x463d90]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
call edi
sub esp, 4
mov dword [ebp + 0x84], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x328]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
call edi
sub esp, 4
mov dword [ebp + 0x88], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x328]
fldcw word [esp + 0x2c]
fist dword [esp + 0x18]
fldcw word [esp + 0x2e]
fild dword [esp + 0x18]
fsubp st(1)
fmul qword [0x463d90]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
call edi
sub esp, 4
mov dword [ebp + 0x8c], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x350]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
call edi
sub esp, 4
mov dword [ebp + 0x90], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x350]
fldcw word [esp + 0x2c]
fist dword [esp + 0x18]
fldcw word [esp + 0x2e]
fild dword [esp + 0x18]
fsubp st(1)
fmul qword [0x463d90]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
call edi
sub esp, 4
mov dword [ebp + 0x94], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x338]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
call edi
sub esp, 4
mov dword [ebp + 0x98], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x338]
fldcw word [esp + 0x2c]
fist dword [esp + 0x18]
fldcw word [esp + 0x2e]
fild dword [esp + 0x18]
fsubp st(1)
fmul qword [0x463d90]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
call edi
sub esp, 4
mov dword [ebp + 0x9c], eax
mov edx, dword [esp + 0x28]
lea eax, [edx + 0x48]
mov word [esp + 0x18], ax
mov eax, dword [ebx + 0x7c]
mov edx, esi
or edx, 0x24000000
test eax, 0x80004
cmovne esi, edx
jmp 0x42b1db
mov dword [esp], 0x100000
mov eax, dword [esp + 0x10]
call eax
mov dword [ebp + 0x40], eax
sub esp, 4
xor eax, eax
jmp 0x42b13c
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x10]
call eax
sub esp, 4
mov dword [ebp + 0x40], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov dword [esp], edx
call eax
mov dword [ebp + 0x44], eax
mov eax, dword [ebx + 0x358]
sub esp, 4
mov dword [esp], eax
mov eax, dword [esp + 0x10]
call eax
mov dword [ebp + 0x48], eax
mov eax, dword [ebx + 0x35c]
sub esp, 4
mov dword [esp], eax
mov eax, dword [esp + 0x10]
call eax
sub esp, 4
mov dword [ebp + 0x4c], eax
lea eax, [edi + 0x38]
mov edx, dword [ebx + 0x7c]
movzx edi, word [esp + 0x14]
mov word [esp + 0x1c], ax
mov eax, edi
or eax, 0x10
test dh, 0x20
cmove eax, edi
mov ecx, eax
or ah, 2
test dh, 0x10
cmove eax, ecx
mov word [esp + 0x14], ax
jmp 0x42b493
lea edi, [ebp + 4]
mov edx, ebp
mov dword [ebp], 0
and edi, 0xfffffffc
mov dword [ebp + ecx - 4], 0
sub edx, edi
add ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
jmp 0x42b3c6
test ecx, ecx
jne 0x42b4bf
or word [esp + 0x14], 1
and edx, 0x80004
je 0x42b5dc
jmp 0x42b4c6
mov eax, dword [ebx + 0x78]
and eax, 0x400000
test eax, eax
je 0x42b660
mov eax, dword [ebx + 0x2fc]
test eax, eax
je 0x42b660
mov dword [esp], eax
call sym._strlen
test ax, ax
je 0x42b660
movzx edx, ax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
or di, 0x8000
mov dword [esp], edx
mov dword [esp + 0x20], edx
call eax
sub esp, 4
mov word [ebp + 0x70], ax
lea eax, [ebp + 0x72]
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
mov ecx, dword [ebx + 0x2fc]
mov dword [esp + 4], ecx
jmp 0x42b641
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov edi, 0x4000
call eax
mov dword [ebp + 0x3c], eax
sub esp, 4
mov edx, dword [ebx + 0x7c]
jmp 0x42b4a3
mov eax, dword [ebx + 0x98]
mov esi, dword [esp + 0x10]
mov dword [esp], eax
call esi
mov dword [ebp + 0x30], eax
mov eax, dword [ebx + 0x9c]
sub esp, 4
shl eax, 8
mov dword [esp], eax
call esi
mov dword [ebp + 0x34], eax
sub esp, 4
jmp 0x42b411
lea edx, [ebp + 4]
mov dword [ebp], 0
mov eax, ebp
mov esi, dword [esp + 0x18]
and edx, 0xfffffffc
sub eax, edx
mov dword [ebp + esi - 4], 0
add eax, esi
and eax, 0xfffffffc
cmp eax, 4
jb 0x42b360
mov esi, eax
mov ecx, 4
and esi, 0xfffffffc
mov dword [esp + 0x10], esi
lea esi, [eax - 1]
shr esi, 2
mov dword [edx], 0
and esi, 1
cmp ecx, eax
jae 0x42b360
test esi, esi
je 0x42bafc
mov dword [edx + 4], 0
mov eax, dword [esp + 0x10]
mov ecx, 8
cmp ecx, eax
jae 0x42b360
mov eax, dword [esp + 0x10]
mov dword [edx + ecx], edi
mov dword [edx + ecx + 4], edi
add ecx, 8
cmp ecx, eax
jb 0x42bb00
jmp 0x42b360
test eax, 0x40000
je 0x42bd80
add word [esp + 0x1c], 0x20
jmp 0x42b5ec
mov byte [ebp], 0
test cl, 2
je 0x42b3c6
xor esi, esi
mov word [ebp + ecx - 2], si
jmp 0x42b3c6
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x328]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
mov eax, dword [esp + 0x10]
call eax
sub esp, 4
mov dword [ebp + 0x58], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x328]
fldcw word [esp + 0x2c]
fist dword [esp + 0x20]
fldcw word [esp + 0x2e]
mov eax, dword [esp + 0x10]
fild dword [esp + 0x20]
fsubp st(1)
fmul qword [0x463d90]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
call eax
sub esp, 4
mov dword [ebp + 0x5c], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x338]
fldcw word [esp + 0x2c]
fistp dword [esp]
fldcw word [esp + 0x2e]
mov eax, dword [esp + 0x10]
call eax
sub esp, 4
mov dword [ebp + 0x68], eax
fnstcw word [esp + 0x2e]
movzx eax, word [esp + 0x2e]
or ah, 0xc
mov word [esp + 0x2c], ax
fld qword [ebx + 0x338]
fldcw word [esp + 0x2c]
fistp dword [esp + 0x20]
fldcw word [esp + 0x2e]
mov eax, dword [esp + 0x20]
imul eax, eax, 0xfff0bdc1
mov dword [esp], eax
mov eax, dword [esp + 0x10]
call eax
mov dword [ebp + 0x6c], eax
sub esp, 4
jmp 0x42b5d0
mov eax, dword [ebx + 0x358]
mov edi, dword [esp + 0x10]
or word [esp + 0x14], 0x200
mov dword [esp], eax
call edi
mov dword [ebp + 0x78], eax
mov eax, dword [ebx + 0x35c]
sub esp, 4
mov dword [esp], eax
call edi
mov dword [ebp + 0x7c], eax
sub esp, 4
jmp 0x42b20e
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [ebp + 0x70], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [ebp + 0x74], eax
mov eax, dword [ebx + 0x7c]
movzx ecx, word [esp + 0x14]
mov edx, ecx
or edx, 0x10
test ah, 0x20
cmove edx, ecx
mov word [esp + 0x14], dx
jmp 0x42b205
cmp byte [ebx + 0x3a8], 0
je 0x42b6c2
lea ecx, [ebx + 0x3a8]
mov dword [esp + 4], pe_nt_image_headers32
or esi, 0x10010000
mov dword [esp], ecx
mov dword [esp + 0x20], ecx
call sym._strnlen
movzx edi, word [esp + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov esi, eax
mov dword [esp], eax
mov eax, dword [esp + 0x24]
add edi, ebp
call eax
sub esp, 4
cmp esi, 4
mov word [edi], ax
lea eax, [edi + 2]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
jae 0x42bda5
test esi, esi
je 0x42bd28
movzx ebx, byte [ebx + 0x3a8]
and esi, 2
mov byte [edi + 2], bl
jne 0x42bdd7
add word [esp + 0x1c], 2
movzx ecx, word [esp + 0x14]
movzx eax, word [esp + 0x1c]
add ecx, eax
jmp 0x42b6c2
test dword [ebx + 0x7c], 0x80004
jne 0x42bd57
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x42b11c
mov eax, dword [ebx + 0x68]
cdq
mov eax, dword [ebx + 0x68]
mov ecx, edx
imul eax, edi
imul ecx, esi
add ecx, eax
mov eax, esi
mul dword [ebx + 0x68]
mov edi, edx
mov esi, eax
add edi, ecx
shl esi, 3
shld edi, eax, 3
jmp 0x42b11c
mov eax, dword [ebx + 0x78]
test eax, 0x400000
je 0x42b660
add word [esp + 0x1c], 0x20
jmp 0x42b9d3
xor edx, edx
mov word [ebp + eax - 2], dx
jmp 0x42b0ae
mov ebx, dword [ebx + 0x3a8]
add edi, 6
mov dword [edi - 4], ebx
mov esi, dword [esp + 0x14]
and edi, 0xfffffffc
mov ebx, dword [ecx + esi - 4]
mov dword [eax + esi - 4], ebx
sub eax, edi
mov ebx, dword [esp + 0x14]
sub ecx, eax
mov esi, ecx
lea ecx, [eax + ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x42bd28
mov ebx, dword [esp + 0x14]
movzx ecx, word [ecx + ebx - 2]
mov word [eax + ebx - 2], cx
jmp 0x42bd28