joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a53a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50eff0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.004a2ee0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x4a53f9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.004a0270
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.004a0260
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.004a4a50
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x5125d8]
push 0
lea ecx, [esp + 0x4c]
call fcn.005062c0
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.004bb860
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.004a2900
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x5120b8]
mov ecx, ebx
call fcn.004a01e0
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x4a54c4
push edi
mov ecx, esi
call fcn.004a2a10
push eax
push ebp
mov ecx, esi
call fcn.004a2bd0
cmp eax, dword [esp + 0x40]
jg 0x4a54c0
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x4a549e
mov eax, ebx
jmp 0x4a54ca
cmp edi, ebx
jl 0x4a54c8
mov eax, ebx
jmp 0x4a54ca
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x4a54db
mov dword [esp + 0x30], eax
jmp 0x4a54e6
cmp edi, ebx
jl 0x4a54e1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.004a01a0
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x4a552d
push edi
mov ecx, esi
call fcn.004a2930
push eax
push ebx
mov ecx, esi
call fcn.004a2d00
cmp eax, dword [esp + 0x44]
jg 0x4a5525
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x4a54ff
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4a5537
cmp edi, ebp
jl 0x4a5531
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4a5537
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x4a5540
mov ecx, eax
jmp 0x4a5549
cmp edi, ebp
jl 0x4a5546
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.004a2920
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.00506332
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x4ab5d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50f4a8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4ab609
inc eax
mov dword [esi + 0x10], eax
jmp 0x4ab71c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4ab61d
mov eax, 0xffffffc7
jmp 0x4ab71e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4ab62e
cmp dword [esi + 8], eax
jne 0x4ab61d
cmp dword [esi + 8], eax
jne 0x4ab647
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4ab647
mov eax, 0xffffffc7
jmp 0x4ab71e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4ab65b
push eax
mov ecx, ebx
call fcn.004aae00
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00477f50
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4ab68c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00477f70
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004aa570
test eax, eax
mov dword [esp + 0x38], eax
je 0x4ab6bf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10e7d78
call fcn.00478150
mov eax, dword [esp + 0x38]
jmp 0x4ab71e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004ab430
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4ab703
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004ab450
mov esi, eax
test esi, esi
jne 0x4ab733
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004ab430
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4ab6d5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10e7d78
call fcn.00478150
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10e7d78
call fcn.00478150
mov eax, esi
jmp 0x4ab71e
Function at 0x4bbf00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x50fd98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x5125d8]
push 0
lea ecx, [esp + 0x20]
call fcn.005062c0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004bb860
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005061ee
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.005029d8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.005029d8
push 1
push 0
push 0
mov ecx, esi
call fcn.00502980
push 1
push 0
push 1
mov ecx, esi
call fcn.00502980
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00506332
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4bc080
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x50fdb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.005062c0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004bb860
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.005061ee
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x5125d8]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4bc144
cmp dword [esp + 0x40], 1
jne 0x4bc142
cmp ecx, eax
jge 0x4bc144
mov eax, ecx
cmp eax, 0xc8
jge 0x4bc150
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004bbf00
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x5125d4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00506332
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4bc950
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x50fe63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00500df5
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x10e9818
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x10e9760
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x512080]
push eax
mov ecx, edi
call fcn.00506568
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00507ac0
test eax, eax
je 0x4bca6c
mov ecx, dword [esp + 0x3c]
call fcn.00506595
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x5125f8]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4bca30
push edi
mov ecx, esi
call fcn.00503b53
mov ecx, esi
call fcn.004bcc10
cmp dword [esp + 0x38], 1
jne 0x4bca65
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00503cbd
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x4bec50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4bec83
push esi
call fcn.004cd020
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4bec7c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4bed09
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4becf2
mov eax, dword [esi + 8]
test eax, eax
je 0x4beca7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4becee
cmp eax, 2
je 0x4becf2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4bec9a
cmp eax, 3
je 0x4beccd
cmp eax, 1
jne 0x4bec9a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4bec9a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4bec9a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004bed30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4bed18
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004bed30
add esp, 4
pop esi
ret
Function at 0x402660
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x540
call fcn.004026f0
test eax, eax
pop edi
je 0x40269b
mov dword [esp + 0xc], 0x41414c
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
lea eax, [esp]
mov dword [esp + 0x10], ecx
push eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4026c6
add esp, 0x3c
ret
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4026df
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4026df
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add esp, 0x3c
ret

Function at 0x403b00
Capabilities:
Create http request

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40c140
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x94]
test eax, eax
jne 0x403c39
lea ecx, [esp + 4]
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esp + 4]
mov ecx, esi
push eax
mov dword [esp + 0x20], 0
call fcn.00404890
test eax, eax
jne 0x403b6d
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esi + 0x3c]
mov edx, dword [esp + 4]
push 0x10000000
push 0
push 0
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 0x94], eax
jne 0x403b96
push eax
push eax
call sub.MFC42u.DLL_AfxThrowInternetException
mov eax, dword [esi + 0x94]
push 0x404b00
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
jne 0x403bb6
push 0
push 0
call sub.MFC42u.DLL_AfxThrowInternetException
push 0
push 0x415c5c
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42u.DLL_CSingleLock::Lock
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403bf8
push esi
mov ecx, 0x415c40
call sub.MFC42u.DLL_CMapPtrToPtr::operator__
lea ecx, [esp + 8]
mov dword [eax], 0
call sub.MFC42u.DLL_CSingleLock::Unlock
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call sub.MFC42u.DLL_CSingleLock::Unlock
mov ecx, esi
call fcn.00404a50
test eax, eax
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 4]
jne 0x403c34
call sub.MFC42u.DLL_CString::CString
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4046b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40c258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call sub.MFC42u.DLL_CTime::CTime
lea ecx, [esp + 0x38]
push 0x414304
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CTime::Format_1
lea edx, [esp + 0x20]
push 3
push edx
mov ecx, eax
mov byte [esp + 0x38], 1
call sub.MFC42u.DLL_CString::Left
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 3
call sub.MFC42u.DLL_CString::CString
lea eax, [esp + 0x1c]
push 0x4142fc
push eax
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CTime::Format_1
lea ecx, [esp + 0x24]
push 0x4142f8
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 4
call sub.MFC42u.DLL_CTime::Format
lea edx, [esp + 0x18]
push 3
push edx
mov ecx, eax
mov byte [esp + 0x38], 5
call sub.MFC42u.DLL_CString::Left
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 7
call sub.MFC42u.DLL_CString::CString
lea eax, [esp + 0x14]
push 0x4142f0
push eax
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CTime::Format_1
lea ecx, [esp + 0x10]
push 0x4142dc
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 8
call sub.MFC42u.DLL_CTime::Format_1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push 0x4142b4
push ecx
mov byte [esp + 0x4c], 9
call sub.MFC42u.DLL_CString::Format
add esp, 0x1c
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_3
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
push edx
push 0x414288
push eax
mov byte [esp + 0x3c], 0xa
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x14]
add esp, 0xc
mov ecx, dword [eax - 8]
push 0x20000000
push ecx
mov ecx, dword [esi + 0x9c]
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
pop esi
jne 0x404813
push eax
push eax
call sub.MFC42u.DLL_AfxThrowInternetException
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x403430
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x40344c
pop edi
lea eax, [esi + 1]
pop esi
ret 0xc
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x40355c
push ebp
lea ebx, [ebx]
cmp ebx, 0x15b0
mov eax, ebx
jb 0x40346f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x40351b
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x403490
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x403490
test eax, eax
je 0x40352f
nop
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x403520
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x403460
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret 0xc
Function at 0x403570
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x4035a2
lea esp, [esp]
test cl, 3
je 0x4035a2
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x6a08f0]
add ecx, 1
sub esi, 1
jne 0x403580
cmp esi, 0x20
push ebx
push edi
jb 0x40378c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x6a0cf0]
xor edx, dword [ebx*4 + 0x6a10f0]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x6a08f0]
add ecx, 4
xor edx, dword [eax*4 + 0x6a14f0]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x6a0cf0]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x6a10f0]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x6a08f0]
add ecx, 4
xor eax, dword [edx*4 + 0x6a14f0]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x6a0cf0]
xor edx, dword [ebx*4 + 0x6a10f0]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x6a08f0]
xor edx, dword [eax*4 + 0x6a14f0]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x6a0cf0]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x6a10f0]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x6a08f0]
xor eax, dword [edx*4 + 0x6a14f0]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x6a0cf0]
xor edx, dword [ebx*4 + 0x6a10f0]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x6a08f0]
xor edx, dword [eax*4 + 0x6a14f0]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x6a0cf0]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x6a10f0]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x6a08f0]
and edx, 0xff
xor eax, dword [edx*4 + 0x6a14f0]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x6a0cf0]
xor edx, dword [ebx*4 + 0x6a10f0]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x6a08f0]
add ecx, 4
xor edx, dword [eax*4 + 0x6a14f0]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x6a0cf0]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x6a10f0]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x6a08f0]
and edx, 0xff
xor eax, dword [edx*4 + 0x6a14f0]
sub edi, 1
jne 0x4035b2
cmp esi, 4
jb 0x4037d9
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x6a0cf0]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x6a10f0]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6a08f0]
and eax, 0xff
xor edi, dword [eax*4 + 0x6a14f0]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x403796
test esi, esi
pop edi
pop ebx
je 0x4037fd
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x6a08f0]
add ecx, 1
sub esi, 1
jne 0x4037e0
not eax
pop esi
ret