Function at 0x414433
Capabilities:
Create thread

Disassembly:
push 0x78
mov eax, 0x4ae8fc
call fcn.0048f48f
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x74], eax
call fcn.0042f326
mov dword [ebp - 4], ebx
push str.success
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0042f2f7
mov esi, 0x4c0c00
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.0042f5f2
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0042f451
push str.type
mov ecx, edi
call fcn.0042f676
sub esp, 0x18
mov ecx, eax
push esp
call fcn.0042fc5e
lea eax, [ebp - 0x5c]
push eax
call fcn.00437fc7
add esp, 0x1c
push str.callbackId
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00430238
test al, al
jne 0x4147a5
push str.sync
lea ecx, [ebp - 0x5c]
call fcn.004093fe
test eax, eax
je 0x41455c
push str.webRequest_callbackId_not_exist
lea ecx, [ebp - 0x54]
call fcn.00401b1e
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
call fcn.00438012
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.0042f275
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 6
call fcn.0042f5f2
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.0042f451
lea ecx, [ebp - 0x2c]
call fcn.00401056
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov byte [ebp - 4], bl
jmp 0x41497b
push 0x4c0d60
mov ecx, edi
call fcn.0042f676
sub esp, 0x18
mov ecx, eax
push esp
call fcn.0042fc5e
lea eax, [ebp - 0x60]
push eax
call fcn.00437fc7
add esp, 0x1c
push str.isResponse
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.00430238
test al, al
je 0x414728
push str.isResponse
mov ecx, edi
call fcn.0042f676
mov ecx, eax
call fcn.0042fa57
test al, al
je 0x414728
push 0x505ab0
lea ecx, [ebp - 0x54]
call fcn.00408fd9
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xe
call fcn.004258be
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xf
call fcn.00423ba0
pop ecx
push dword [eax]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x10
call fcn.004093fe
mov ecx, dword [ebp - 0x50]
test eax, eax
lea ecx, [ecx - 0x10]
sete bl
mov byte [ebp - 4], 0xf
call fcn.00407864
test bl, bl
je 0x4146b1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push str.webRequest_HttpRequest_
push eax
call fcn.00409288
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x11
call fcn.00438012
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x12
call fcn.0042f275
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x13
call fcn.0042f5f2
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x12
call fcn.0042f451
lea ecx, [ebp - 0x2c]
call fcn.00401056
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407864
xor ebx, ebx
jmp 0x414554
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00438012
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x14
call fcn.0042f275
push str.content
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x15
call fcn.0042f5f2
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x14
call fcn.0042f451
lea ecx, [ebp - 0x2c]
call fcn.00401056
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00407864
xor ebx, ebx
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.00407864
jmp 0x4148f8
lea eax, [ebp - 0x60]
push eax
call fcn.004286b3
pop ecx
test al, al
jne 0x414718
push str.webRequest_HttpWithNoResponseRequest_error
lea ecx, [ebp - 0x50]
call fcn.00401b1e
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x16
call fcn.00438012
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x17
call fcn.0042f275
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x18
call fcn.0042f5f2
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x17
call fcn.0042f451
lea ecx, [ebp - 0x2c]
call fcn.00401056
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x60]
jmp 0x414541
mov ecx, dword [0x507340]
mov eax, ecx
imul eax, ecx
imul eax, ecx
push 0x18
cdq
pop esi
idiv esi
cmp edx, 0xa
jne 0x4147e8
mov eax, ecx
push 0x64
cdq
pop ecx
idiv ecx
xor ecx, ecx
push 4
lea eax, [edx + 0x2f4]
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048dbeb
pop ecx
push eax
call fcn.0048fbd7
pop ecx
push 0x10
call fcn.0048e498
mov esi, eax
pop ecx
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x414807
push ebx
mov ecx, esi
call fcn.0042f326
jmp 0x414809
mov esi, ebx
push edi
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0042f4ab
lea eax, [ebp - 0x54]
push eax
push ebx
push esi
push 0x409cfc
push ebx
push ebx
mov dword [ebp - 0x54], ebx
call fcn.004920f6
add esp, 0x18
test eax, eax
jne 0x4148f1
test esi, esi
je 0x414847
mov ecx, esi
call fcn.0042f451
push esi
call fcn.0048e469
pop ecx
call fcn.00491902
push dword [eax]
lea eax, [ebp - 0x58]
push eax
call fcn.0042c341
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x50]
push str.webRequest_beginthreadex_
push eax
mov byte [ebp - 4], 8
call fcn.00409288
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0xa
lea ecx, [ecx - 0x10]
call fcn.00407864
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00438012
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.0042f275
push 0x4c0c00
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xc
call fcn.0042f5f2
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.0042f451
lea ecx, [ebp - 0x2c]
call fcn.00401056
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407864
push 0x11
pop esi
push 8
mov byte [ebp - 4], bl
pop edi
jmp 0x414981
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407864
jmp 0x414978
mov dword [ebp - 4], ebx
push 8
pop edi
push 0x11
pop esi
lea ecx, [ebp - 0x4c]
call fcn.00430a82
mov byte [ebp - 4], 0x1d
call fcn.004114d9
test al, al
jne 0x4149aa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x50
xor edx, edx
pop ecx
div ecx
inc edx
mov dword [0x507340], edx
push 0x505ab0
lea ecx, [ebp - 0x50]
call fcn.00408fd9
mov edx, dword [0x507340]
mov byte [ebp - 4], 0x1e
lea eax, [edx + 2]
lea ecx, [edx + 1]
imul eax, ecx
imul eax, edx
cdq
idiv esi
cmp edx, 0xe
jne 0x414a09
push 0x28
call fcn.0048dbeb
mov esi, ebx
pop ecx
mov dword [ebp - 0x54], eax
mov ebx, eax
call fcn.0048f9e0
add eax, dword [0x507340]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, 0xa
jl 0x4149e4
mov eax, dword [ebx + 0x24]
push ebx
mov dword [0x507340], eax
call fcn.0048fbd7
pop ecx
xor ebx, ebx
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00432bf9
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1f
jb 0x414a28
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x54]
push eax
call fcn.00437fc7
add esp, 0x1c
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x20
call fcn.00402394
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00407864
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1e
call fcn.00401056
mov eax, dword [ebp - 0x74]
mov esi, dword [ebp - 0x50]
mov word [eax], di
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x414a7f
call fcn.00409bd9
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 8], eax
call fcn.004113cf
test al, al
jne 0x414a9a
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
lea ecx, [esi - 0x10]
call fcn.00407864
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.004090f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.0042f451
call fcn.0048f3e1
ret