Function at 0x40ef70
Capabilities:
Connect to http server
Contain obfuscated stackstrings
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489734
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x650
push ebx
push esi
xor ebx, ebx
mov esi, 0xf
push edi
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
mov dword [esp + 0x664], ebx
mov eax, dword [0x4ae5f0]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ae5f0
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x66c], 1
call fcn.0040a100
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f00b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
push ecx
lea eax, [esp + 0x10c]
call fcn.0040a2f0
add esp, 4
push 0x3f
lea edx, [esp + 0x165]
push ebx
push edx
mov byte [esp + 0x16c], bl
call fcn.00420c90
add esp, 0xc
call fcn.0040a240
cmp dword [esp + 0x11c], 0x10
mov ecx, dword [esp + 0x108]
jae 0x40f056
lea ecx, [esp + 0x108]
neg eax
sbb eax, eax
and eax, 0x20
add eax, 0x20
push eax
xor eax, eax
cmp dword [esp + 0x3c], ebx
lea edx, [esp + 0x164]
setne al
push eax
push ecx
push str._s__d__d
call fcn.0040fef0
mov edx, dword [0x4ae5f0]
mov eax, dword [edx + 0xc]
add esp, 0x10
mov ecx, 0x4ae5f0
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x448]
mov byte [esp + 0x664], 2
call fcn.004311dc
lea ecx, [esp + 0x4cc]
mov byte [esp + 0x664], 3
call fcn.004311dc
lea ecx, [esp + 0x550]
mov byte [esp + 0x664], 4
call fcn.004311dc
lea ecx, [esp + 0x5d4]
mov byte [esp + 0x664], 5
call fcn.004311dc
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x668], 6
call fcn.0040c3a0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov byte [esp + 0x664], 8
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], ebx
je 0x40f135
push eax
lea eax, [esp + 0x5c]
call fcn.0040a2f0
add esp, 4
mov eax, dword [0x4b3eac]
cmp dword [eax - 0xc], ebx
je 0x40f14c
push eax
lea eax, [esp + 0x78]
call fcn.0040a2f0
add esp, 4
and dword [esp + 0x30], 0xfffffe00
mov dword [esp + 0x34], ebx
mov byte [esp + 0x664], 0xa
mov edx, dword [esp + 0x18]
and edx, 0xffffff04
or edx, 0x104
push 0x4a119e
xor edi, edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
call fcn.00416980
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
mov edx, 0x4a1a2d
mov ecx, str.model
mov byte [esp + 0x668], 0xb
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0xa
call fcn.00417270
mov ecx, dword [esp + 0x18]
and ecx, 0xffffff04
or ecx, 0x104
push 0x4a119e
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
call fcn.00416980
add esp, 4
mov dword [esp + 0x10], eax
lea edx, [esp + 0x28]
push edx
mov edx, 0x4a1a33
mov ecx, 0x4a1a30
mov byte [esp + 0x668], 0xc
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0xa
call fcn.00417270
mov eax, dword [esp + 0x18]
and eax, 0xffffff04
or eax, 0x104
push 0x4a119e
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
call fcn.00416980
add esp, 4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
push ecx
mov edx, 0x4a1a3c
mov ecx, str.buildver
mov byte [esp + 0x668], 0xd
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0xa
call fcn.00417270
mov edx, dword [esp + 0x18]
and edx, 0xffffff04
or edx, 0x104
push 0x4a119e
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
call fcn.00416980
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
mov edx, 0x4a1a46
mov ecx, str.sernum
mov byte [esp + 0x668], 0xe
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0xa
call fcn.00417270
mov ecx, dword [esp + 0x18]
and ecx, 0xffffff04
or ecx, 0x104
push 0x4a119e
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
call fcn.00416980
add esp, 4
mov dword [esp + 0x10], eax
lea edx, [esp + 0x28]
push edx
mov edx, 0x4a1a4c
mov ecx, str.udid
mov byte [esp + 0x668], 0xf
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0xa
call fcn.00417270
mov eax, dword [esp + 0x18]
and eax, 0xfffffe01
or eax, 1
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0x2768
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x28]
push ecx
mov edx, 0x4a1a56
mov ecx, str.menuid
mov byte [esp + 0x668], 0x10
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0xa
call fcn.00417270
mov edx, dword [esp + 0x18]
and edx, 0xfffffe01
xor eax, eax
or edx, 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
push eax
mov edx, 0x4a1a5c
mov ecx, str.type
mov byte [esp + 0x668], 0x11
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0xa
call fcn.00417270
mov ecx, dword [esp + 0x18]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x40f421
lea eax, [esp + 0x58]
mov edi, dword [esp + 0x68]
push eax
call fcn.00416980
add esp, 4
mov dword [esp + 0x10], eax
lea edx, [esp + 0x28]
push edx
mov edx, 0x4a1a66
mov ecx, str.pcguid
mov byte [esp + 0x668], 0x12
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0xa
call fcn.00417270
mov eax, dword [esp + 0x18]
and eax, 0xffffff04
or eax, 0x104
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], 0
jae 0x40f496
lea eax, [esp + 0x74]
mov edi, dword [esp + 0x84]
push eax
call fcn.00416980
add esp, 4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
push ecx
mov edx, 0x4a1a6c
mov ecx, str.pcvs
mov byte [esp + 0x668], 0x13
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0xa
call fcn.00417270
mov edx, dword [esp + 0x18]
and edx, 0xffffff04
or edx, 0x104
push 0x4a1a78
mov edi, 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0
call fcn.00416980
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
mov edx, 0x4a1a76
mov ecx, str.pcvs_b
mov byte [esp + 0x668], 0x14
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0xa
call fcn.00417270
xor ebx, ebx
lea eax, [esp + 0x160]
mov dword [esp + 0x138], 0xf
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40f571
sub eax, ecx
push eax
lea ecx, [esp + 0x164]
push ecx
lea ecx, [esp + 0x12c]
call fcn.00409650
mov byte [esp + 0x664], 0x15
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x124]
and edx, 0xffffff04
or edx, 0x104
cmp dword [esp + 0x138], 0x10
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
jae 0x40f5c7
lea eax, [esp + 0x124]
mov edi, dword [esp + 0x134]
push eax
call fcn.00416980
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
mov edx, 0x4a1a80
mov ecx, str.pcos
mov byte [esp + 0x668], 0x16
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0x15
call fcn.00417270
mov bl, 0xa
mov esi, 0x10
mov byte [esp + 0x664], bl
cmp dword [esp + 0x138], esi
jb 0x40f63a
mov ecx, dword [esp + 0x124]
push ecx
call fcn.0041a981
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x10]
and edx, 0xffffff04
or edx, 0x104
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
cmp dword [eax + 0x14], esi
jb 0x40f663
mov eax, dword [eax]
push eax
call fcn.00416980
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
mov edx, 0x4a1a8a
mov ecx, str.reason
mov byte [esp + 0x668], 0x17
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
mov byte [esp + 0x664], bl
lea ebx, [esp + 0x10]
call fcn.00417270
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x10]
and ecx, 0xffffff04
or ecx, 0x104
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
jb 0x40f6d1
mov eax, dword [eax]
push eax
call fcn.00416980
add esp, 4
mov dword [esp + 0x10], eax
lea edx, [esp + 0x28]
push edx
mov edx, 0x4a1a93
mov ecx, str.comment
mov byte [esp + 0x668], 0x18
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0xa
call fcn.00417270
call fcn.0040b640
mov ecx, dword [esp + 0x18]
and ecx, 0xfffffe01
cdq
or ecx, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
lea edx, [esp + 0x28]
push edx
mov edx, 0x4a1a9c
mov ecx, str.pcclient
mov byte [esp + 0x668], 0x19
call fcn.004178d0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00417330
lea ebx, [esp + 0x10]
mov byte [esp + 0x664], 0xa
call fcn.00417270
xor eax, eax
mov dword [esp + 0xac], vtable.Json::FastWriter.0
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], eax
mov byte [esp + 0xb0], al
mov byte [esp + 0xcc], al
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x66c], 0x1a
call fcn.00413380
mov byte [esp + 0x664], 0x1b
cmp dword [esp + 0xe4], 0x10
mov eax, dword [esp + 0xd0]
jae 0x40f7e3
lea eax, [esp + 0xd0]
mov edx, dword [esp + 0xe0]
push edx
push eax
lea ebx, [esp + 0xf4]
call fcn.0040ae90
add esp, 8
mov byte [esp + 0x664], 0x1c
push 0x33
xor ebx, ebx
push str.http:__ios.pclog.3u.com_log_info_uploadLog.go_type
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00409650
push 0xa
lea eax, [esp + 0x144]
push eax
push 2
mov byte [esp + 0x670], 0x1d
call fcn.00482bdb
lea eax, [esp + 0x14c]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x40f850
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40f850
sub eax, edx
push eax
lea eax, [esp + 0x144]
lea ecx, [esp + 0x40]
call fcn.0040b300
xor ecx, ecx
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], cx
mov byte [esp + 0x664], 0x1e
mov eax, dword [esp + 0x3c]
mov edi, 0x10
cmp dword [esp + 0x50], edi
jae 0x40f8a1
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x94]
call fcn.0040a3d0
mov eax, dword [esp + 0x94]
add esp, 4
cmp dword [esp + 0xa4], 8
jae 0x40f8c9
lea eax, [esp + 0x90]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x230]
call fcn.00431607
push 0xffffffffffffffff
push 0x4a1af8
lea ecx, [esp + 0x2b8]
mov byte [esp + 0x66c], 0x1f
call fcn.00431607
push ebx
lea ecx, [esp + 0x2b4]
mov byte [esp + 0x668], 0x20
call fcn.0043133d
push eax
lea ecx, [esp + 0x230]
call fcn.0043145a
lea ecx, [esp + 0x228]
mov dword [esp + 0x38], eax
call fcn.004311fa
mov esi, eax
sub esi, dword [esp + 0x38]
lea ecx, [esp + 0x2b0]
call fcn.004311fa
sub esi, eax
push esi
lea edx, [esp + 0x1a4]
push edx
lea ecx, [esp + 0x230]
call fcn.004317c2
push ebx
push 0x4a1b00
lea ecx, [esp + 0x1a8]
mov byte [esp + 0x66c], 0x21
call fcn.0043145a
push eax
lea eax, [esp + 0x33c]
push eax
lea ecx, [esp + 0x1a8]
call fcn.0043172a
lea ecx, [esp + 0x338]
mov byte [esp + 0x664], 0x22
call fcn.004311fa
lea ecx, [esp + 0x1a0]
mov esi, eax
call fcn.004311fa
sub eax, esi
push eax
lea ecx, [esp + 0x3c4]
push ecx
lea ecx, [esp + 0x1a8]
call fcn.004317c2
push ebx
push ebx
push ebx
push ebx
push 0x4a1b04
mov byte [esp + 0x678], 0x23
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
cmp esi, ebx
je 0x40fc60
push 1
push ebx
push 3
push ebx
push ebx
push 0x50
lea ecx, [esp + 0x350]
call fcn.0043133d
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
cmp esi, ebx
je 0x40fc60
push 1
push ebx
push 0x4af8d8
push ebx
push ebx
lea ecx, [esp + 0x3d4]
call fcn.0043133d
push eax
push str.POST
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
cmp eax, ebx
je 0x40fc60
mov ecx, str.Content_Type:_text_plain
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40fa31
mov edx, dword [esp + 0xec]
sub ecx, esi
sar ecx, 1
cmp dword [esp + 0x100], edi
jae 0x40fa57
lea edx, [esp + 0xec]
mov esi, dword [esp + 0xfc]
push esi
push edx
push ecx
push str.Content_Type:_text_plain
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
lea ecx, [esp + 0x3c0]
mov byte [esp + 0x664], 0x22
call fcn.004311e9
lea ecx, [esp + 0x338]
mov byte [esp + 0x664], 0x21
call fcn.004311e9
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x664], 0x20
call fcn.004311e9
lea ecx, [esp + 0x2b0]
mov byte [esp + 0x664], 0x1f
call fcn.004311e9
lea ecx, [esp + 0x228]
mov byte [esp + 0x664], 0x1e
call fcn.004311e9
cmp dword [esp + 0xa4], 8
jb 0x40faeb
mov edx, dword [esp + 0x90]
push edx
call fcn.0041a981
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], ax
cmp dword [esp + 0x50], edi
jb 0x40fb1a
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0041a981
add esp, 4
mov esi, 0xf
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x100], edi
jb 0x40fb44
mov edx, dword [esp + 0xec]
push edx
call fcn.0041a981
add esp, 4
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0xe4], edi
jb 0x40fb72
mov eax, dword [esp + 0xd0]
push eax
call fcn.0041a981
add esp, 4
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
mov dword [esp + 0xac], vtable.Json::FastWriter.0
cmp dword [esp + 0xc4], edi
jb 0x40fbab
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0041a981
add esp, 4
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
lea ebx, [esp + 0x28]
mov dword [esp + 0xc4], esi
mov dword [esp + 0xac], vtable.Json::Writer.0
mov byte [esp + 0x664], 8
call fcn.00417270
mov edi, 0x10
cmp dword [esp + 0x88], edi
jb 0x40fbf7
mov edx, dword [esp + 0x74]
push edx
call fcn.0041a981
add esp, 4
xor ebx, ebx
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
cmp dword [esp + 0x6c], edi
jb 0x40fc1e
mov eax, dword [esp + 0x58]
push eax
call fcn.0041a981
add esp, 4
lea ecx, [esp + 0x448]
push ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x668], 2
call fcn.0040bcc0
mov byte [esp + 0x664], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40fe89
lea ecx, [esp + 0x3c0]
mov byte [esp + 0x664], 0x22
call fcn.004311e9
lea ecx, [esp + 0x338]
mov byte [esp + 0x664], 0x21
call fcn.004311e9
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x664], 0x20
call fcn.004311e9
lea ecx, [esp + 0x2b0]
mov byte [esp + 0x664], 0x1f
call fcn.004311e9
lea ecx, [esp + 0x228]
mov byte [esp + 0x664], 0x1e
call fcn.004311e9
cmp dword [esp + 0xa4], 8
jb 0x40fcde
mov edx, dword [esp + 0x90]
push edx
call fcn.0041a981
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], ax
cmp dword [esp + 0x50], edi
jb 0x40fd0d
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0041a981
add esp, 4
mov esi, 0xf
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x100], edi
jb 0x40fd37
mov edx, dword [esp + 0xec]
push edx
call fcn.0041a981
add esp, 4
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0xe4], edi
jb 0x40fd65
mov eax, dword [esp + 0xd0]
push eax
call fcn.0041a981
add esp, 4
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
mov dword [esp + 0xac], vtable.Json::FastWriter.0
cmp dword [esp + 0xc4], edi
jb 0x40fd9e
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0041a981
add esp, 4
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
lea ebx, [esp + 0x28]
mov dword [esp + 0xc4], esi
mov dword [esp + 0xac], vtable.Json::Writer.0
mov byte [esp + 0x664], 8
call fcn.00417270
mov edi, 0x10
cmp dword [esp + 0x88], edi
jb 0x40fdea
mov edx, dword [esp + 0x74]
push edx
call fcn.0041a981
add esp, 4
xor ebx, ebx
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
cmp dword [esp + 0x6c], edi
jb 0x40fe11
mov eax, dword [esp + 0x58]
push eax
call fcn.0041a981
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea ecx, [esp + 0x5d4]
mov byte [esp + 0x664], 0x26
call fcn.004311e9
lea ecx, [esp + 0x550]
mov byte [esp + 0x664], 0x25
call fcn.004311e9
lea ecx, [esp + 0x4cc]
mov byte [esp + 0x664], 0x24
call fcn.004311e9
lea ecx, [esp + 0x448]
mov byte [esp + 0x664], 2
call fcn.004311e9
mov byte [esp + 0x664], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x664], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40febc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x11c], edi
jb 0x40fed5
mov ecx, dword [esp + 0x108]
push ecx
call fcn.0041a981
add esp, 4
mov ecx, dword [esp + 0x65c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret