Function at 0x404cc0
Capabilities:
Check http status code
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x638
mov eax, dword [0x4d044c]
xor eax, esp
mov dword [esp + 0x634], eax
mov eax, ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
xor edi, edi
mov dword [esp + 0xac], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x5c], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x30], edi
movq qword [esp + 0xdc], xmm0
mov dword [esp + 0xe4], edi
mov dword [esp + 0x58], edi
mov byte [esp + 0x15], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], edi
movaps xmmword [esp + 0x2f0], xmm0
movaps xmmword [esp + 0x300], xmm0
mov byte [esp + 0x310], 0
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], edi
lock inc dword [0x4d4b18]
cmp dword [0x4d43e0], edi
je 0x405812
cmp dword [ebp + 0xc], 1
jb 0x405812
cmp byte [eax], 0
je 0x405812
push dword [0x4d0e04]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x38], eax
test eax, eax
je 0x405812
mov eax, dword [esp + 0x5c]
lea edi, [esp + 0x2f0]
xor esi, esi
inc eax
mov dword [esp + 0x40], eax
movzx eax, byte [eax + esi]
push eax
push str._02X
push 3
push edi
call fcn.00403bb0
mov eax, dword [esp + 0x50]
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x404da0
push 0
call fcn.0048baa1
mov ecx, dword [0x4d43d8]
add esp, 4
mov dword [esp + 0x20], 0
mov edi, eax
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x404fb1
lea eax, [esp + 0x20]
push eax
push 0x20000
call fcn.004074f0
mov esi, dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x404f95
lea eax, [esp + 0x28]
xor edx, edx
push eax
mov ecx, esi
call fcn.00411160
add esp, 4
test eax, eax
jne 0x404f95
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc0], 0x10
mov dword [esp + 0xc4], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x48], 0
test esi, esi
je 0x404fb1
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esi + 0x3c]
jae 0x404f95
mov eax, dword [esi + 0x38]
test byte [ecx + eax], 0x10
je 0x404f95
test byte [esi + 0x40], 0x13
jne 0x404f95
lea eax, [esp + 0x1d0]
mov edx, esi
push eax
push ecx
lea ecx, [esp + 0xf0]
call fcn.0040d4c0
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x84]
push 0xf
push eax
lea edx, [esp + 0xd4]
lea ecx, [esp + 0xfc]
call fcn.0040b120
add esp, 0x14
test eax, eax
jne 0x404f95
cmp dword [esp + 0x78], 0xc
jne 0x404f95
mov eax, dword [esp + 0x7c]
mov ecx, esi
movq xmm0, qword [eax]
movq qword [esp + 0xdc], xmm0
mov eax, dword [eax + 8]
mov dword [esp + 0xe4], eax
call fcn.004080c0
test eax, eax
jne 0x404f95
mov byte [esp + 0x15], 1
cmp edi, dword [esp + 0xe0]
jae 0x404fb1
mov ecx, dword [0x4d4684]
test ecx, ecx
je 0x404f3c
push dword [0x4d4680]
movzx eax, byte [esp + 0xe1]
push eax
movsx eax, byte [esp + 0xe4]
push eax
lea eax, [esp + 0x2fc]
push eax
push str.MD5:_s_Found_in_Cache._Rep:__d_Cnt:_u_SkipThisCacheEntry:_d_n
push ecx
call fcn.00403b40
add esp, 0x18
push 0
call fcn.0048baa1
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0xe0]
add esp, 4
mov dword [esp + 0xe4], eax
call fcn.004037a0
cmp eax, 1
je 0x404f81
mov eax, dword [0x4d4684]
test eax, eax
je 0x404f81
lea ecx, [esp + 0x2f0]
push ecx
push str.K7CLCache_SetReputEntry_updt_last_ref_time_failed_MD5:_s_n
push eax
call fcn.00403b40
add esp, 0xc
cmp dword [0x4d4680], 0
je 0x40584b
mov byte [esp + 0x15], 0
jmp 0x404fb1
test esi, esi
je 0x404fb1
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x404fa5
call fcn.00407960
mov edx, 0x200022
mov ecx, esi
call fcn.004076a0
mov eax, dword [esp + 0x38]
xor edx, edx
lea ecx, [eax + 0x28]
mov dword [ecx], 0
lea edi, [eax + 0x434]
mov dword [esp + 0x6c], ecx
lea esi, [eax + 0x2c]
xor ecx, ecx
mov word [eax + 0x334], dx
mov word [edi], cx
lea ecx, [eax + 0x334]
mov dword [esp + 0x24], ecx
lea ecx, [eax + 0x234]
xor eax, eax
mov dword [esp + 0xbc], edi
push 0x104
push eax
mov word [esi], ax
lea eax, [esp + 0x538]
push eax
mov dword [esp + 0x7c], ecx
mov word [ecx], dx
mov dword [esp + 0xc4], esi
call fcn.004644e0
add esp, 0xc
lea eax, [esp + 0x328]
push 0x80
push 0
push eax
call fcn.004644e0
add esp, 0xc
lea eax, [esp + 0x3a8]
push 0x80
push 0
push eax
call fcn.004644e0
add esp, 0xc
lea eax, [esp + 0x428]
push 0x104
push 0
push eax
call fcn.004644e0
add esp, 0xc
lea eax, [esp + 0x428]
lea edx, [esp + 0x64]
lea ecx, [esp + 0xd0]
push eax
lea eax, [esp + 0x3ac]
push eax
lea eax, [esp + 0x330]
push eax
lea eax, [esp + 0x53c]
push eax
push dword [esp + 0x7c]
lea eax, [esp + 0x7c]
push eax
call fcn.004385d0
lea ecx, [esp + 0x548]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4050a4
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x534]
push eax
push esi
call fcn.0048c669
lea ecx, [esp + 0x334]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4050d0
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x32c]
push eax
push dword [esp + 0x78]
call fcn.0048c669
lea ecx, [esp + 0x3b4]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405100
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x3ac]
push eax
push dword [esp + 0x2c]
call fcn.0048c669
add esp, 0xc
cmp dword [esp + 0x64], 3
je 0x40512f
cmp dword [esp + 0x68], 3
jne 0x4051a1
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdatesBranchAddon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0xac], 0
mov dword [esp + 0xc0], 0
call fcn.0045e060
mov esi, eax
test esi, esi
je 0x4051a1
lea eax, [esp + 0xa0]
push eax
push str.MasterServerComm
push esi
call fcn.0045e500
lea eax, [esp + 0xb4]
push eax
push str.FailoverSelectMaster
push esi
call fcn.0045e500
push 0x200
lea eax, [esp + 0x42c]
push eax
push str.LookupAddonServer
push esi
call fcn.0045e550
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x428]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4051b0
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x42c]
push eax
push edi
call fcn.0048c669
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpOpen]
add esp, 0xc
mov dword [esp + 0x80], eax
xor edx, edx
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov dword [esp + 0x84], eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [esp + 0x20], eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov dword [esp + 0x88], eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esp + 0x8c], eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esp + 0x90], eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [esp + 0x94], eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [esp + 0x98], eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [esp + 0x9c], eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov dword [esp + 0x28], edx
mov dword [esp + 0x60], eax
nop
mov eax, dword [esp + edx*4 + 0x64]
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x48], ecx
xor edi, edi
cmp eax, 2
je 0x4052f9
cmp eax, 3
je 0x4052f9
cmp eax, 1
jne 0x405841
cmp dword [0x4d4650], 2
mov eax, 0x800000
cmove edi, eax
mov eax, dword [esp + 0x6c]
cmp dword [eax], ecx
mov eax, dword [0x4d4684]
je 0x4052cd
mov ecx, dword [esp + 0xb8]
mov esi, 1
mov dword [esp + 0x54], 0x4c130c
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], 3
test eax, eax
je 0x405347
push ecx
lea ecx, [esp + 0x2f4]
push ecx
push str.For_MD5:_s_using_proxy_server__S_n
jmp 0x40533e
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], 1
test eax, eax
je 0x405347
lea ecx, [esp + 0x2f0]
push ecx
push str.For_MD5:_s_using_direction_connection_n
push eax
call fcn.00403b40
add esp, 0xc
jmp 0x405347
cmp dword [0x4d4650], 2
mov eax, 1
mov edx, dword [esp + 0xbc]
cmove ecx, eax
mov dword [esp + 0x54], 0x4c130c
mov eax, dword [0x4d4684]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], 3
mov dword [esp + 0x48], ecx
test eax, eax
je 0x405347
push edx
lea ecx, [esp + 0x2f4]
push ecx
push str.For_MD5:_s_using_local_update_server__S_n
push eax
call fcn.00403b40
add esp, 0x10
push 0
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push str.K7CommunityAgent
call dword [esp + 0x94]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x405392
cmp dword [0x4d4684], eax
je 0x4057d0
lea eax, [esp + 0x2f0]
push eax
call dword [esp + 0x1c]
push eax
push str.WinHttpOpen_failed_GLE:_u_for_MD5:_s_n
push dword [0x4d4684]
jmp 0x4057c8
push 0x3e8
push 0x3e8
push 0x3e8
push 0x3e8
push eax
call dword [esp + 0x98]
test eax, eax
jne 0x4053db
cmp dword [0x4d4684], eax
je 0x4057d0
lea eax, [esp + 0x2f0]
push eax
call dword [esp + 0x1c]
push eax
push str.WinHttpSetTimeouts_failed_GLE:_u_for_MD5:_s_n
push dword [0x4d4684]
jmp 0x4057c8
push 0xc
lea eax, [esp + 0x50]
push eax
push 0x26
push dword [esp + 0x40]
call dword [esp + 0x30]
test eax, eax
jne 0x405419
cmp dword [0x4d4684], eax
je 0x4057d0
lea eax, [esp + 0x2f0]
push eax
call dword [esp + 0x1c]
push eax
push str.WinHttpOpen_failed_GLE:_u_for_MD5:_s_n
push dword [0x4d4684]
jmp 0x4057c8
test edi, edi
je 0x40544e
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xa80
push eax
push 0x54
push dword [esp + 0x40]
call dword [esp + 0x30]
push 0
push 0x30
push 0x4044a0
push dword [esp + 0x40]
call dword [esp + 0x98]
xor eax, eax
jmp 0x405453
mov eax, 1
push 0
push 0
push dword [0x4d4654]
mov dword [esp + 0x64], eax
push dword [esp + 0x40]
call dword [esp + 0x9c]
mov dword [esp + 0x74], eax
test eax, eax
jne 0x40549d
cmp dword [0x4d4684], eax
je 0x4057d0
lea eax, [esp + 0x2f0]
push eax
call dword [esp + 0x1c]
push eax
push str.WinHttpConnect_failed_GLE:_u_for_MD5:_s_n
push dword [0x4d4684]
jmp 0x4057c8
push edi
push 0
push 0
push 0
push dword [0x4d4670]
push 0x4c143c
push eax
call dword [esp + 0xac]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x4054e8
cmp dword [0x4d4684], eax
je 0x4057d0
lea eax, [esp + 0x2f0]
push eax
call dword [esp + 0x1c]
push eax
push str.WinHttpOpenRequest_failed_GLE:_u_for_MD5:_s_n
push dword [0x4d4684]
jmp 0x4057c8
test esi, esi
je 0x405541
mov esi, dword [esp + 0x70]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4054f5
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov esi, dword [esp + 0x28]
push 0x1002
push dword [esp + 0x3c]
call esi
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405520
sub ecx, edx
sar ecx, 1
push ecx
push dword [esp + 0x28]
push 0x1003
push dword [esp + 0x3c]
call esi
jmp 0x405545
mov esi, dword [esp + 0x20]
test edi, edi
mov edi, dword [esp + 0x30]
je 0x405561
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x100
push eax
push 0x1f
push edi
call esi
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x38]
movzx eax, byte [ecx]
sub eax, 1
je 0x40559d
sub eax, 1
je 0x40558e
sub eax, 1
je 0x40557f
xor eax, eax
jmp 0x4055ad
push dword [esp + 0x44]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00404230
jmp 0x4055aa
push dword [esp + 0x44]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00403fb0
jmp 0x4055aa
push dword [esp + 0x44]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00403c00
add esp, 8
mov dword [esi + 0x14], eax
test eax, eax
je 0x4057d0
mov eax, dword [0x4d4684]
test eax, eax
je 0x4055d2
push dword [esi + 0xc]
push str.DATA:__s_n
push eax
call fcn.00403b40
add esp, 0xc
cmp dword [esp + 0x48], 0
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
push str.application_json
push str.Content_Type
je 0x405618
push 0x4c14c4
push 0x4c14c8
push 0x4d4708
push str.x_k7authtoken
push 0x4d4688
push str.x_k7sysid
push str._s:__s_r_n_s:__s_r_n_s:__s_r_n_s:__s_r_n
push eax
push ecx
call fcn.00403ad0
add esp, 0x2c
jmp 0x40563b
push 0x4d4708
push str.x_k7authtoken
push 0x4d4688
push str.x_k7sysid
push str._s:__s_r_n_s:__s_r_n_s:__s_r_n
push eax
push ecx
call fcn.00403ad0
add esp, 0x24
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x58]
push ecx
push eax
push eax
push dword [esi + 0xc]
push 0xffffffffffffffff
push dword [esi + 0x20]
push edi
call dword [esp + 0xb0]
test eax, eax
jne 0x405682
cmp dword [0x4d4684], eax
je 0x4057d0
lea eax, [esp + 0x2f0]
push eax
call dword [esp + 0x1c]
push eax
push str.WinHttpSendRequest_failed_GLE:_u_for_MD5:_s_n
push dword [0x4d4684]
jmp 0x4057c8
cmp dword [esp + 0x58], 0
jne 0x4056b1
mov eax, dword [0x4d4684]
test eax, eax
je 0x4057d0
lea ecx, [esp + 0x2f0]
push ecx
push str.WinHttpSendRequest_Server_NOT_Verified_for_MD5:_s_n
push eax
call fcn.00403b40
add esp, 0xc
jmp 0x4057d0
push 0
push edi
call dword [esp + 0xa0]
test eax, eax
jne 0x4056e8
cmp dword [0x4d4684], eax
je 0x4057d0
lea eax, [esp + 0x2f0]
push eax
call dword [esp + 0x1c]
push eax
push str.WinHttpReceiveResponse_failed_GLE:_u_for_MD5:_s_n
push dword [0x4d4684]
jmp 0x4057c8
push 0
lea eax, [esp + 0x40]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x44], 4
push eax
push 0
push 0x20000013
push edi
call dword [esp + 0xb4]
test eax, eax
jne 0x405740
cmp dword [0x4d4684], eax
je 0x4057d0
lea eax, [esp + 0x2f0]
push eax
call dword [esp + 0x1c]
push eax
push str.WinHttpQueryHeaders_failed_GLE:_u_for_MD5:_s_n
push dword [0x4d4684]
jmp 0x4057c8
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xc8
je 0x405765
mov eax, dword [0x4d4684]
test eax, eax
je 0x4057d0
lea edx, [esp + 0x2f0]
push edx
push ecx
push str.WinHttpQueryHeaders_returned_status__d_for_MD5:_s_n
jmp 0x4057c7
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
push edi
call dword [esp + 0x70]
test eax, eax
jne 0x4057a3
cmp dword [0x4d4684], eax
je 0x4057d0
lea eax, [esp + 0x2f0]
push eax
call dword [esp + 0x1c]
push eax
push str.WinHttpReadData_failed_GLE:_u_for_MD5:_s_n
push dword [0x4d4684]
jmp 0x4057c8
mov ecx, dword [esp + 0x3c]
cmp ecx, 3
je 0x405942
mov eax, dword [0x4d4684]
test eax, eax
je 0x4057d0
lea edx, [esp + 0x2f0]
push edx
push ecx
push str.WinHttpReadData_return__d_bytes_for_MD5:_s_n
push eax
call fcn.00403b40
add esp, 0x10
cmp byte [esp + 0x15], 0
jne 0x405847
mov edx, dword [esp + 0x28]
inc edx
mov dword [esp + 0x28], edx
cmp edx, 2
jb 0x405250
xor edi, edi
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x4057fc
push eax
call esi
mov eax, dword [esp + 0x74]
test eax, eax
je 0x405807
push eax
call esi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x405812
push eax
call esi
mov eax, dword [0x4d4684]
test eax, eax
je 0x405824
push eax
call fcn.0048c902
add esp, 4
lock dec dword [0x4d4b18]
mov ecx, dword [esp + 0x63c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x15], cl
je 0x4057e9
mov edi, dword [esp + 0x2c]
mov eax, edi
sub eax, dword [0x4d43dc]
cmp eax, 0x5460
jb 0x405b39
mov ecx, 1
mov edx, 0x4d43e4
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x405b39
mov dword [esp + 0x24], eax
cmp dword [0x4d43d8], eax
je 0x405b02
push eax
call fcn.0048baa1
mov ecx, dword [0x4d43d8]
add esp, 4
mov dword [esp + 0x60], eax
lea eax, [esp + 0x24]
push eax
push 0
call fcn.004074f0
mov edi, dword [esp + 0x2c]
add esp, 8
test eax, eax
jne 0x405ae2
lea eax, [esp + 0xa4]
xor edx, edx
push eax
mov ecx, edi
call fcn.00411160
add esp, 4
test eax, eax
jne 0x405ae2
mov edx, dword [esp + 0xa4]
lea eax, [esp + 0xa8]
push eax
mov ecx, edi
call fcn.0040d5d0
add esp, 4
test eax, eax
jne 0x405ae2
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0x60]
nop dword [eax]
test esi, esi
je 0x405a90
lea eax, [esp + 0xc8]
mov ecx, esi
push 8
push eax
lea edx, [esp + 0xdc]
call fcn.0040b720
add esp, 8
test eax, eax
jne 0x405a8e
mov eax, dword [esp + 0xcc]
cmp edi, dword [eax + 4]
jbe 0x405900
xor edx, edx
mov ecx, esi
call fcn.0040c950
jmp 0x405900
mov eax, dword [esi + 0x18]
mov edx, dword [0x4d4684]
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x15], 2
mov cl, byte [eax + 1]
mov byte [esp + 0xdc], cl
mov eax, dword [esi + 0x18]
mov al, byte [eax + 2]
mov byte [esp + 0xdd], al
mov dword [esp + 0xe4], edi
test edx, edx
je 0x4059a2
movzx eax, al
push eax
movsx eax, cl
push eax
mov eax, dword [esi + 0x18]
movzx eax, byte [eax]
push eax
lea eax, [esp + 0x2fc]
push eax
push str.MD5:_s_ServerFound:_d_Reput:_d_Count:_d_n
push edx
call fcn.00403b40
mov cl, byte [esp + 0xf4]
add esp, 0x18
mov eax, dword [esi + 0x18]
cmp byte [eax], 0
je 0x405a6c
movsx eax, cl
add eax, 3
cmp eax, 6
ja case.0x4059bd.0
jmp dword [eax*4 + 0x405cd4]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0xdc]
mov dword [esp + 0xe0], 0xffffffff
call fcn.004037a0
jmp 0x40584b
mov ecx, dword [esp + 0x40]
lea eax, [edi + 0x278d00]
lea edx, [esp + 0xdc]
mov dword [esp + 0xe0], eax
call fcn.004037a0
jmp 0x40584b
mov ecx, dword [esp + 0x40]
lea eax, [edi + 0x15180]
lea edx, [esp + 0xdc]
mov dword [esp + 0xe0], eax
call fcn.004037a0
jmp 0x40584b
mov ecx, dword [esp + 0x40]
lea eax, [edi + 0xa8c0]
lea edx, [esp + 0xdc]
mov dword [esp + 0xe0], eax
call fcn.004037a0
jmp 0x40584b
mov ecx, dword [esp + 0x40]
lea eax, [edi + 0x2a30]
lea edx, [esp + 0xdc]
mov dword [esp + 0xe0], eax
call fcn.004037a0
jmp 0x40584b
mov ecx, dword [esp + 0x40]
lea eax, [edi + 0x5460]
lea edx, [esp + 0xdc]
mov dword [esp + 0xe0], eax
call fcn.004037a0
jmp 0x40584b
test esi, esi
mov edi, dword [esp + 0x24]
je 0x405ad7
cmp dword [esi + 4], 0
jne 0x405ad7
test byte [esi + 0x24], 0x40
je 0x405ace
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x405ace
mov eax, dword [esi + 0x10]
lea edx, [ecx + eax*4]
mov ecx, dword [edx]
test ecx, ecx
je 0x405ac6
cmp ecx, esi
je 0x405ac6
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
test eax, eax
jne 0x405ab8
cmp dword [edx], esi
jne 0x405ace
mov eax, dword [esi]
mov dword [edx], eax
push esi
call fcn.0048b923
add esp, 4
mov ecx, edi
call fcn.004080c0
test eax, eax
je 0x405afe
test edi, edi
je 0x405afe
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x405af2
call fcn.00407960
mov edx, 0x200022
mov ecx, edi
call fcn.004076a0
mov edi, dword [esp + 0x2c]
mov eax, dword [0x4d4684]
mov dword [esp + 0x1c], 0
test eax, eax
je 0x405b23
push 0
push str.Purged__d_entries_n
push eax
call fcn.00403b40
add esp, 0xc
mov dword [0x4d43dc], edi
xor ecx, ecx
mov eax, 1
mov edx, 0x4d43e4
lock cmpxchg dword [edx], ecx
mov al, byte [esp + 0xdc]
mov byte [esp + 0x16], al
test al, al
jns 0x405b4c
xor ecx, ecx
jmp 0x405b4f
movsx ecx, al
cmp byte [esp + 0x15], 0
mov edx, dword [esp + 0xac]
mov byte [edx], cl
mov ecx, dword [esp + 0xb0]
mov dword [ecx], 1
je 0x405cc9
test al, al
jle 0x405cc9
cmp dword [esp + 0x44], 0x11
jbe 0x405cc9
mov eax, dword [esp + 0x5c]
mov al, byte [eax + 0x11]
mov byte [esp + 0x17], al
cmp al, 1
je 0x405b9e
cmp al, 2
je 0x405b9e
cmp al, 3
jne 0x405cc9
mov ecx, 0x4d6958
lea edx, [esp + 0x2f0]
mov esi, 0x1c
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x405bdf
add ecx, 4
add edx, 4
sub esi, 4
jae 0x405bb0
mov al, byte [esp + 0x17]
mov cl, byte [esp + 0x16]
cmp byte [0x4d6955], al
jne 0x405be7
cmp byte [0x4d6954], cl
je 0x405cc9
jmp 0x405be7
mov al, byte [esp + 0x17]
mov cl, byte [esp + 0x16]
movups xmm0, xmmword [esp + 0x2f0]
push 0x400
mov byte [0x4d6955], al
movups xmmword [0x4d6958], xmm0
mov byte [0x4d6954], cl
movups xmm0, xmmword [esp + 0x304]
movups xmmword [0x4d6968], xmm0
call fcn.0048b928
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x405cc9
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0xdea9
push str.ID_d
push eax
call esi
add esp, 0xc
mov edi, eax
add edi, dword [esp + 0x28]
push 0
call fcn.0048baa1
add esp, 4
push eax
push str.TS_lu
push edi
call esi
add esp, 0xc
add edi, eax
movzx eax, byte [esp + 0x17]
push eax
push str.REQ_d
push edi
call esi
add esp, 0xc
add edi, eax
movsx eax, byte [esp + 0x16]
push eax
push str.REP_d
push edi
call esi
add esp, 0xc
add edi, eax
lea eax, [esp + 0x2f0]
push eax
push str.MD5_s
push edi
call esi
add esp, 0xc
add edi, eax
movzx eax, byte [esp + 0x15]
push eax
push str.RFM_d
push edi
call esi
mov esi, dword [esp + 0x34]
add edi, eax
add esp, 0xc
sub edi, esi
inc edi
mov dl, 1
mov ecx, str.TSMngr
push edi
push esi
call fcn.00432c10
push esi
call fcn.0048b923
add esp, 0xc
mov edi, 1
jmp 0x4057eb