Function at 0x42c130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x55a3d0]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
push edi
mov eax, dword [0x55a3d0]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], 0
mov ebx, dword [esi + 0x2c]
mov dword [esp + 0x10], esi
cmp ebx, dword [esi + 0x30]
je 0x42c256
lea ebx, [ebx]
mov eax, dword [ebx]
cmp dword [eax + 0x44], 0
mov ecx, dword [eax + 0x40]
ja 0x42c19f
test ecx, ecx
je 0x42c1e0
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
mov dword [esp + 0x188], ecx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x18c], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], edx
xor eax, eax
lea esp, [esp]
cmp byte [esp + eax + 0x188], 0
jne 0x42c24a
inc eax
cmp eax, 0x10
jb 0x42c1d0
push ebx
lea eax, [esp + 0x70]
push eax
push esi
call fcn.0042c030
mov dword [esp + 0x2e0], 0
cmp dword [esp + 0x6c], 0
je 0x42c20d
mov esi, dword [ebx]
lea edi, [esp + 0x6c]
call fcn.00453c30
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2e0], 0xffffffff
mov edi, dword [esp + 0x70]
test edi, edi
je 0x42c24a
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42c24a
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42c24a
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
add ebx, 8
cmp ebx, dword [esi + 0x30]
jne 0x42c190
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x30]
je 0x42c513
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x42c4f9
lea esi, [esp + 0x244]
call fcn.00453820
mov edi, eax
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x2e0], 1
mov eax, dword [ebx + 0x40]
mov esi, dword [eax + 4]
add ebx, 0x3c
cmp byte [esi + 0x39], 0
mov dword [esp + 0x18], eax
jne 0x42c2d8
cmp dword [edi + 0x14], 8
mov edx, dword [edi + 0x10]
lea ecx, [esi + 0xc]
jb 0x42c2b4
mov eax, dword [edi]
jmp 0x42c2b6
mov eax, edi
push edx
mov edx, dword [ecx + 0x10]
push eax
push edx
push 0
call fcn.0040dad0
test eax, eax
jns 0x42c2cc
mov esi, dword [esi + 8]
jmp 0x42c2d2
mov dword [esp + 0x18], esi
mov esi, dword [esi]
cmp byte [esi + 0x39], 0
je 0x42c2a4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
cmp eax, dword [ebx + 4]
je 0x42c30c
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x42c2f3
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [edi + 0x10]
push eax
push 0
mov ecx, edi
call fcn.0040dad0
test eax, eax
js 0x42c30c
lea eax, [esp + 0x18]
jmp 0x42c31d
mov ecx, dword [ebx + 4]
mov dword [esp + 0x94], ecx
lea eax, [esp + 0x94]
mov esi, dword [eax]
mov dword [esp + 0x2e0], 0xffffffff
cmp dword [esp + 0x258], 8
jb 0x42c344
mov edx, dword [esp + 0x244]
push edx
call fcn.004b5907
add esp, 4
mov ecx, dword [esp + 0x10]
xor edi, edi
xor eax, eax
mov dword [esp + 0x258], 7
mov dword [esp + 0x254], edi
mov word [esp + 0x244], ax
cmp esi, dword [ecx + 0x40]
je 0x42c385
lea edx, [esp + 0x158]
lea eax, [esi + 0x28]
push edx
push eax
mov eax, dword [esp + 0x1c]
call fcn.00431bd0
jmp 0x42c4f9
push 0x18
mov dword [esp + 0x5c], edi
call fcn.004b5bb8
add esp, 4
cmp eax, edi
je 0x42c5f2
mov dword [esp + 0x54], eax
mov dword [eax], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x54]
mov byte [eax + 0x14], 1
mov ecx, dword [esp + 0x54]
mov byte [ecx + 0x15], 1
lea edx, [esp + 0x180]
mov dword [esp + 0x2e0], 2
mov esi, dword [esp + 0x14]
push edx
lea eax, [esp + 0x54]
push eax
mov eax, esi
call fcn.00431bd0
mov eax, dword [esi]
lea esi, [esp + 0x2b4]
call fcn.00453820
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x1b8]
push edx
mov ecx, eax
mov byte [esp + 0x2e8], 3
call fcn.00433280
add esp, 8
mov ecx, eax
mov edx, ebx
mov byte [esp + 0x2e0], 4
call fcn.00433e00
push eax
lea eax, [esp + 0x16c]
push eax
push ebx
call fcn.004337d0
lea ecx, [esp + 0x1d0]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x2e0], 6
mov eax, dword [esp + 0x1d4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0xa0]
lea esi, [esp + 0x1d8]
call fcn.00431f40
mov edx, dword [esp + 0x1d4]
push edx
call fcn.004b5907
add esp, 4
cmp dword [esp + 0x1c8], 8
jb 0x42c48a
mov eax, dword [esp + 0x1b4]
push eax
call fcn.004b5907
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x2c8], 8
mov esi, 7
mov dword [esp + 0x1c8], esi
mov dword [esp + 0x1c4], 0
mov word [esp + 0x1b4], cx
jb 0x42c4c5
mov edx, dword [esp + 0x2b4]
push edx
call fcn.004b5907
add esp, 4
mov dword [esp + 0x2e0], esi
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x40]
lea esi, [esp + 0x58]
call fcn.00431f40
mov dword [esp + 0x2e0], 0xffffffff
mov eax, dword [esp + 0x54]
push eax
call fcn.004b5907
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, 8
mov dword [esp + 0x14], eax
cmp eax, dword [ecx + 0x30]
jne 0x42c266
mov esi, ecx
mov ebx, dword [esi + 8]
mov dword [esp + 0x14], ebx
cmp ebx, dword [esi + 0xc]
je 0x42cc96
mov edi, dword [ebx]
cmp dword [edi + 0x24], 1
jne 0x42cc80
lea esi, [edi + 0x48]
mov ecx, esi
call fcn.00420730
mov edi, dword [edi + 0x20]
mov eax, closesocket
mov ecx, esi
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x42c592
cmp eax, 0x80000000
jle 0x42c592
mov edx, esi
lock bts dword [edx], 0x1e
jb 0x42c592
mov ecx, dword [esi + 4]
add esi, 4
test ecx, ecx
jne 0x42c58b
push ecx
push ecx
call fcn.00412e50
mov ecx, eax
add esp, 8
mov edx, ecx
xor eax, eax
lock cmpxchg dword [esi], edx
mov esi, eax
test esi, esi
je 0x42c58b
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp edi, 2
jne 0x42cc80
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.004332f0
add esp, 4
mov dword [esp + 0x2e0], 8
mov ecx, dword [esp + 0x30]
push ecx
lea edi, [esp + 0x210]
call fcn.004579c0
mov edi, eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x2e0], 9
mov eax, dword [eax + 0x40]
mov esi, dword [eax + 4]
cmp byte [esi + 0x39], 0
mov ebx, eax
jne 0x42c64c
cmp dword [edi + 0x14], 8
mov edx, dword [edi + 0x10]
lea ecx, [esi + 0xc]
jb 0x42c62a
mov eax, dword [edi]
jmp 0x42c62c
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x90], edi
call fcn.004b59ab
push 0x52daf4
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0xac], vtable.std::bad_alloc.0
call fcn.004b9b55
mov eax, edi
push edx
mov edx, dword [ecx + 0x10]
push eax
push edx
push 0
call fcn.0040dad0
test eax, eax
jns 0x42c642
mov esi, dword [esi + 8]
jmp 0x42c646
mov ebx, esi
mov esi, dword [esi]
cmp byte [esi + 0x39], 0
je 0x42c5e2
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], ebx
cmp ebx, dword [esi + 0x40]
je 0x42c680
cmp dword [ebx + 0x20], 8
mov ecx, dword [ebx + 0x1c]
lea eax, [ebx + 0xc]
jb 0x42c667
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [edi + 0x10]
push eax
push 0
mov ecx, edi
call fcn.0040dad0
test eax, eax
js 0x42c680
lea eax, [esp + 0x2c]
jmp 0x42c68b
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x68]
mov esi, dword [eax]
mov byte [esp + 0x2e0], 8
cmp dword [esp + 0x220], 8
jb 0x42c6af
mov edx, dword [esp + 0x20c]
push edx
call fcn.004b5907
add esp, 4
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x220], 7
mov dword [esp + 0x21c], 0
mov word [esp + 0x20c], ax
cmp esi, dword [ecx + 0x40]
je 0x42c74d
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
cmp ecx, eax
je 0x42c74d
mov eax, dword [esp + 0x30]
mov edi, dword [eax + 0xe8]
mov ebx, dword [eax + 0xec]
mov esi, dword [esi + 0x2c]
mov eax, dword [ecx + 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
cmp edx, edi
jne 0x42c709
cmp eax, ebx
je 0x42cc3f
cmp byte [ecx + 0x15], 0
jne 0x42c749
mov eax, dword [ecx + 8]
cmp byte [eax + 0x15], 0
jne 0x42c72e
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
jne 0x42c749
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
je 0x42c722
jmp 0x42c749
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
jne 0x42c747
cmp ecx, dword [eax + 8]
jne 0x42c747
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x42c737
mov ecx, eax
cmp ecx, esi
jne 0x42c6f4
push 0x48
call fcn.004b5bb8
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
mov byte [esp + 0x2e0], 0xa
test esi, esi
je 0x42c858
mov edx, dword [esp + 0x30]
push edx
lea edi, [esp + 0x264]
call fcn.004579c0
push eax
lea eax, [esp + 0x280]
mov byte [esp + 0x2e4], 0xb
or dword [esp + 0x20], 1
push eax
call fcn.0046ae62
add esp, 8
mov dword [esp + 0x2e0], 0xc
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xec]
mov edi, dword [ecx + 0x60]
mov ebx, dword [ecx + 0xe8]
or dword [esp + 0x1c], 2
mov dword [esp + 0xa0], edx
mov edx, dword [ecx + 0x128]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x78], edx
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x7c], edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
push 0xffffffffffffffff
mov dword [esp + 0x88], ecx
lea ecx, [esi + 8]
mov dword [esi], vtable.NetworkService::DownloadStats.0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x8c], edx
mov byte [ecx], 0
call fcn.00411950
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x84]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], 0
jmp 0x42c85a
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0
push esi
lea ecx, [esp + 0x94]
mov dword [esp + 0x2e4], 0xf
call fcn.00434990
mov edx, dword [eax]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x90]
test eax, eax
je 0x42c8c1
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42c8c1
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42c8c1
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
push esi
lea eax, [esp + 0x24]
push esi
push eax
call fcn.00409750
add esp, 0xc
mov eax, 0x10
mov dword [esp + 0x2e0], eax
mov ebx, dword [esp + 0x1c]
test bl, 2
je 0x42c923
and ebx, 0xfffffffd
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x290], eax
jb 0x42c905
mov ecx, dword [esp + 0x27c]
push ecx
call fcn.004b5907
add esp, 4
mov dword [esp + 0x290], 0xf
mov dword [esp + 0x28c], 0
mov byte [esp + 0x27c], 0
mov byte [esp + 0x2e0], 0x12
test bl, 1
je 0x42c971
and ebx, 0xfffffffe
cmp dword [esp + 0x274], 8
mov dword [esp + 0x1c], ebx
jb 0x42c951
mov edx, dword [esp + 0x260]
push edx
call fcn.004b5907
add esp, 4
xor eax, eax
mov dword [esp + 0x274], 7
mov dword [esp + 0x270], 0
mov word [esp + 0x260], ax
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x20]
add edi, 0x2c
call fcn.00431350
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42cc05
lea esi, [esp + 0x228]
call fcn.00453820
mov edi, eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x2e0], 0x13
mov eax, dword [eax + 0x40]
mov esi, dword [eax + 4]
cmp byte [esi + 0x39], 0
mov dword [esp + 0x18], eax
jne 0x42c9f3
mov ebx, 8
lea esp, [esp]
mov edx, dword [edi + 0x10]
lea ecx, [esi + 0xc]
cmp dword [edi + 0x14], ebx
jb 0x42c9cf
mov eax, dword [edi]
jmp 0x42c9d1
mov eax, edi
push edx
mov edx, dword [ecx + 0x10]
push eax
push edx
push 0
call fcn.0040dad0
test eax, eax
jns 0x42c9e7
mov esi, dword [esi + 8]
jmp 0x42c9ed
mov dword [esp + 0x18], esi
mov esi, dword [esi]
cmp byte [esi + 0x39], 0
je 0x42c9c0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ebx, 0x3c
mov dword [esp + 0x64], eax
cmp eax, dword [ebx + 4]
je 0x42ca2f
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x42ca15
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [edi + 0x10]
push eax
xor esi, esi
push esi
mov ecx, edi
call fcn.0040dad0
test eax, eax
js 0x42ca31
lea eax, [esp + 0x64]
jmp 0x42ca3c
xor esi, esi
mov ecx, dword [ebx + 4]
mov dword [esp + 0x60], ecx
lea eax, [esp + 0x60]
mov edi, dword [eax]
mov byte [esp + 0x2e0], 0x12
cmp dword [esp + 0x23c], 8
jb 0x42ca60
mov edx, dword [esp + 0x228]
push edx
call fcn.004b5907
add esp, 4
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x23c], 7
mov dword [esp + 0x238], esi
mov word [esp + 0x228], ax
cmp edi, dword [ecx + 0x40]
je 0x42ca9f
lea edx, [esp + 0x178]
lea eax, [edi + 0x28]
push edx
push eax
lea eax, [esp + 0x28]
call fcn.00431bd0
jmp 0x42cc05
push 0x18
mov dword [esp + 0x4c], esi
call fcn.004b5bb8
add esp, 4
cmp eax, esi
je 0x42cf03
mov dword [esp + 0x44], eax
mov dword [eax], eax
mov eax, dword [esp + 0x44]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x44]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x44]
mov byte [eax + 0x14], 1
mov ecx, dword [esp + 0x44]
mov byte [ecx + 0x15], 1
lea edx, [esp + 0x160]
push edx
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x2e8], 0x14
call fcn.00431bd0
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x298]
call fcn.00453820
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x1e4]
push edx
mov ecx, eax
mov byte [esp + 0x2e8], 0x15
call fcn.00433280
add esp, 8
mov ecx, eax
mov edx, ebx
mov byte [esp + 0x2e0], 0x16
call fcn.00433e00
push eax
lea eax, [esp + 0x174]
push eax
push ebx
call fcn.004337d0
lea ecx, [esp + 0x1fc]
mov dword [esp + 0x38], ecx
mov byte [esp + 0x2e0], 0x18
mov eax, dword [esp + 0x200]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x90]
lea esi, [esp + 0x204]
call fcn.00431f40
mov edx, dword [esp + 0x200]
push edx
call fcn.004b5907
add esp, 4
cmp dword [esp + 0x1f4], 8
jb 0x42cba1
mov eax, dword [esp + 0x1e0]
push eax
call fcn.004b5907
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x2ac], 8
mov dword [esp + 0x1f4], 7
mov dword [esp + 0x1f0], 0
mov word [esp + 0x1e0], cx
jb 0x42cbdb
mov edx, dword [esp + 0x298]
push edx
call fcn.004b5907
add esp, 4
mov byte [esp + 0x2e0], 0x19
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x7c]
lea esi, [esp + 0x48]
call fcn.00431f40
mov eax, dword [esp + 0x44]
push eax
call fcn.004b5907
add esp, 4
mov byte [esp + 0x2e0], 8
mov esi, dword [esp + 0x24]
test esi, esi
je 0x42cc3f
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42cc3f
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42cc3f
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov dword [esp + 0x2e0], 0xffffffff
mov esi, dword [esp + 0x34]
test esi, esi
je 0x42cc7c
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42cc7c
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42cc7c
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add ebx, 8
mov dword [esp + 0x14], ebx
cmp ebx, dword [ecx + 0xc]
jne 0x42c523
mov esi, ecx
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
lea edi, [esi + 0x2c]
sar ecx, 3
cmp ecx, 1
jbe 0x42ccc3
mov esi, dword [esi + 0x30]
mov eax, dword [edi]
mov edx, esi
sub edx, eax
push fcn.0042a820
sar edx, 3
push edx
push esi
push eax
call fcn.00433ef0
add esp, 0x10
mov esi, dword [edi + 4]
sub esi, dword [edi]
lea eax, [esp + 0xbc]
push eax
sar esi, 3
call fcn.00403200
lea ecx, [esp + 0xbc]
push str.NetworkService::TaskManager::CollectCompletedDownloads:
push ecx
mov dword [esp + 0x2e8], 0x1a
call fcn.00404d50
add esp, 8
push esi
lea ecx, [esp + 0xc0]
call fcn.00422e50
lea edx, [esp + 0xbc]
push str._completed_downloads_collected.
push edx
call fcn.00404d50
add esp, 8
lea esi, [esp + 0x198]
lea eax, [esp + 0xbc]
call fcn.00402e30
mov eax, esi
push eax
push 4
mov byte [esp + 0x2e8], 0x1b
call fcn.00423a40
add esp, 8
cmp dword [esp + 0x1ac], 8
jb 0x42cd5c
mov ecx, dword [esp + 0x198]
push ecx
call fcn.004b5907
add esp, 4
mov ecx, dword [esp + 0xbc]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x1ac], 7
mov dword [esp + 0x1a8], ebx
mov word [esp + 0x198], dx
mov edx, dword [ecx + 4]
lea eax, [esp + 0x10c]
mov dword [esp + 0x74], eax
mov dword [esp + edx + 0xbc], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esp + 0x2e0], 0x1c
test byte [esp + 0x100], 1
lea eax, [esp + 0xc0]
mov dword [esp + 0x88], eax
mov dword [esp + 0xc0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x42cdda
mov ecx, dword [esp + 0xd0]
mov eax, dword [ecx]
push eax
call fcn.004b5907
add esp, 4
mov edx, dword [esp + 0xd0]
mov dword [edx], ebx
mov eax, dword [esp + 0xe0]
mov dword [eax], ebx
mov ecx, dword [esp + 0xf0]
mov dword [ecx], ebx
mov edx, dword [esp + 0xd4]
mov dword [edx], ebx
mov eax, dword [esp + 0xe4]
mov dword [eax], ebx
mov ecx, dword [esp + 0xf4]
mov dword [ecx], ebx
and dword [esp + 0x100], 0xfffffffe
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xc0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0x2e0], 0x1d
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x42ce90
mov edi, dword [eax]
cmp edi, ebx
je 0x42ce83
push ebx
lea ecx, [esp + 0x40]
call fcn.0049ca34
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x42ce61
cmp eax, 0xffffffff
jae 0x42ce61
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x3c]
and esi, edi
call fcn.0049ca5c
cmp esi, ebx
je 0x42ce83
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004b5907
add esp, 4
lea ecx, [esp + 0xc4]
mov byte [esp + 0x2e0], 0x1c
call fcn.0049ca8d
mov dword [esp + 0x2e0], 0xffffffff
mov edx, dword [esp + 0xbc]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x10c]
mov dword [esp + eax + 0xbc], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push ecx
mov dword [esp + method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::ios_base.0
call fcn.0049cb21
add esp, 4
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.004b58f8
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x2c], esi
call fcn.004b59ab
push 0x52daf4
lea eax, [esp + 0xb4]
push eax
mov dword [esp + 0xb8], vtable.std::bad_alloc.0
call fcn.004b9b55
int3