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

Disassembly:
push 0xffffffffffffffff
push 0x5b8657
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x65ee20]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65ee20]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x134]
mov eax, dword [esp + 0x130]
mov ebx, dword [esp + 0x12c]
mov dword [esp + 0x14], ecx
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
call fcn.00424cc0
mov dword [esp + 0x124], 0
mov eax, dword [esi]
test eax, eax
je 0x404192
test al, 1
je 0x40416d
lea eax, [esp + 0x24]
push eax
lea ecx, [ebx + 4]
call fcn.00418fc0
test byte [esi], 2
je 0x404180
lea ecx, [esp + 0x24]
push ecx
lea edx, [ebx + 4]
push edx
call fcn.00419af0
test byte [esi], 4
je 0x404192
lea eax, [esp + 0x24]
push eax
lea ecx, [ebx + 4]
call fcn.0041ac50
mov ecx, ebx
call fcn.0040b800
lea ebp, [ebx + 0x378]
mov ecx, ebp
call fcn.0040c050
lea ecx, [ebx + 4]
mov edx, ebp
call fcn.0041b0a0
lea edi, [esp + 0x24]
call fcn.0041c4e0
cmp dword [ebx + 0x1c0], 0x10
jb 0x4041ca
mov eax, dword [ebx + 0x1ac]
jmp 0x4041d0
lea eax, [ebx + 0x1ac]
push eax
lea ebx, [esp + 0x20]
call fcn.00410ef0
mov bl, 1
mov byte [esp + 0x124], bl
mov esi, dword [eax]
test esi, esi
je 0x4041ff
cmp dword [esi + 4], 0
jne 0x4041fa
mov ecx, dword [esi]
push ecx
call fcn.005ac940
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x404201
xor esi, esi
push esi
lea ecx, [esp + 0x60]
call fcn.00424ef0
push eax
push 0x632c68
lea ecx, [esp + 0x2c]
mov byte [esp + 0x12c], 2
call fcn.004260c0
mov ecx, eax
call fcn.00425350
lea ecx, [esp + 0x5c]
mov byte [esp + 0x124], bl
call fcn.00425250
mov byte [esp + 0x124], 0
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
je 0x404285
mov esi, eax
add eax, 8
push eax
call edi
test eax, eax
jne 0x404285
test esi, esi
je 0x404285
mov eax, dword [esi]
test eax, eax
je 0x40426c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x40427c
push eax
call fcn.0044f960
add esp, 4
push esi
call fcn.0044f960
add esp, 4
cmp dword [ebp + 0x18], 0x10
jb 0x404290
mov eax, dword [ebp + 4]
jmp 0x404293
lea eax, [ebp + 4]
push eax
lea ebx, [esp + 0x20]
call fcn.00410ef0
mov bl, 3
mov byte [esp + 0x124], bl
mov esi, dword [eax]
test esi, esi
je 0x4042c2
cmp dword [esi + 4], 0
jne 0x4042bd
mov edx, dword [esi]
push edx
call fcn.005ac940
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x4042c4
xor esi, esi
push esi
lea ecx, [esp + 0x60]
call fcn.00424ef0
push eax
push 0x632c6c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x12c], 4
call fcn.004260c0
mov ecx, eax
call fcn.00425350
lea ecx, [esp + 0x5c]
mov byte [esp + 0x124], bl
call fcn.00425250
mov byte [esp + 0x124], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x404342
mov esi, eax
add eax, 8
push eax
call edi
test eax, eax
jne 0x404342
test esi, esi
je 0x404342
mov eax, dword [esi]
test eax, eax
je 0x404329
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x404339
push eax
call fcn.0044f960
add esp, 4
push esi
call fcn.0044f960
add esp, 4
mov ebp, dword [esp + 0x18]
cmp dword [ebp + 0x158], 0x10
jb 0x404357
mov eax, dword [ebp + 0x144]
jmp 0x40435d
lea eax, [ebp + 0x144]
push eax
lea ebx, [esp + 0x20]
call fcn.00410ef0
mov bl, 5
mov byte [esp + 0x124], bl
mov esi, dword [eax]
test esi, esi
je 0x40438c
cmp dword [esi + 4], 0
jne 0x404387
mov eax, dword [esi]
push eax
call fcn.005ac940
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x40438e
xor esi, esi
push esi
lea ecx, [esp + 0x60]
call fcn.00424ef0
push eax
push str.Sessionid
lea ecx, [esp + 0x2c]
mov byte [esp + 0x12c], 6
call fcn.004260c0
mov ecx, eax
call fcn.00425350
lea ecx, [esp + 0x5c]
mov byte [esp + 0x124], bl
call fcn.00425250
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x404404
mov esi, eax
add eax, 8
push eax
call edi
test eax, eax
jne 0x404404
test esi, esi
je 0x404404
mov eax, dword [esi]
test eax, eax
je 0x4043eb
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4043fb
push eax
call fcn.0044f960
add esp, 4
push esi
call fcn.0044f960
add esp, 4
lea ecx, [esp + 0xd4]
call fcn.0042b680
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xa0]
mov ebx, 7
push edx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x12c], bl
call fcn.0042b740
mov byte [esp + 0x124], 8
xor eax, eax
mov word [esp + 0x84], ax
push 1
mov eax, 0x632c7c
lea esi, [esp + 0x84]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], 0
call fcn.0040e180
mov byte [esp + 0x124], 9
cmp dword [esp + 0xb4], 0x10
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x1c], 0x3a8
jae 0x404494
lea ebx, [esp + 0xa0]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
call fcn.0042a510
add esp, 4
xor ebx, ebx
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x88]
mov byte [esp + 0x12c], 0xa
call fcn.0040df50
mov byte [esp + 0x124], 9
cmp dword [esp + 0x58], 8
jb 0x4044dc
mov edx, dword [esp + 0x44]
push edx
call fcn.0044f960
add esp, 4
mov esi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4044e5
sub eax, edx
sar eax, 1
push eax
push esi
lea eax, [esp + 0x88]
call fcn.0040e060
push 1
push 0x632c80
lea eax, [esp + 0x88]
call fcn.0040e060
mov ecx, dword [ebp + 0x400]
sub ecx, dword [ebp + 0x3fc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x404771
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x3fc]
cmp esi, dword [eax + 0x400]
jbe 0x404551
call fcn.0058ab82
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x3f0]
mov dword [esp + 0x1c], edi
mov ebp, esi
mov esi, dword [eax + 0x400]
cmp dword [eax + 0x3fc], esi
jbe 0x404578
call fcn.0058ab82
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x3f0]
cmp edi, ebx
je 0x404586
cmp edi, eax
je 0x40458b
call fcn.0058ab82
cmp ebp, esi
je 0x404771
cmp edi, ebx
jne 0x404602
call fcn.0058ab82
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4045a8
call fcn.0058ab82
push 0xffffffffffffffff
push ebx
push ebp
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.00411020
mov byte [esp + 0x124], 0xb
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x60]
jae 0x4045e3
lea ebx, [esp + 0x60]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call fcn.0042a510
mov ebx, dword [eax + 0x14]
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x404606
mov eax, dword [eax + 4]
jmp 0x404609
mov eax, dword [edi]
jmp 0x40459e
add eax, 4
push eax
lea eax, [esp + 0x84]
call fcn.0040d120
mov edi, 8
mov esi, eax
cmp dword [esp + 0x58], edi
jb 0x404630
mov edx, dword [esp + 0x44]
push edx
call fcn.0044f960
add esp, 4
cmp esi, 0xffffffff
je 0x404680
mov byte [esp + 0x124], 9
cmp dword [esp + 0x74], 0x10
jb 0x404651
mov eax, dword [esp + 0x60]
push eax
call fcn.0044f960
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40467c
call fcn.0058ab82
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x40466a
call fcn.0058ab82
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add ebp, 0x1c
xor ebx, ebx
jmp 0x404561
mov eax, dword [eax]
jmp 0x404660
mov ebp, 0x10
cmp dword [esp + 0x74], ebp
jb 0x404698
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0044f960
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp dword [esp + 0x98], edi
jb 0x4046c4
mov edx, dword [esp + 0x84]
push edx
call fcn.0044f960
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], ax
cmp dword [esp + 0xb4], ebp
jb 0x4046f9
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0044f960
add esp, 4
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0xd4], vtable.Json::FastWriter.0
cmp dword [esp + 0xf0], ebp
jb 0x404732
mov edx, dword [esp + 0xdc]
push edx
call fcn.0044f960
add esp, 4
lea ecx, [esp + 0xd4]
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
call fcn.0042b630
lea ecx, [esp + 0x24]
mov dword [esp + 0x124], 0xffffffff
call fcn.00425250
mov eax, 0xd
jmp 0x4049f4
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], 0xfde9
jae 0x404791
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x18]
lea edi, [esp + 0x60]
call fcn.0042a3a0
add esp, 4
push eax
lea esi, [esp + 0xfc]
mov byte [esp + 0x128], 0xc
call fcn.00429c80
add esp, 4
mov ebp, 0x10
mov byte [esp + 0x124], 0xe
cmp dword [esp + 0x74], ebp
jb 0x4047da
mov eax, dword [esp + 0x60]
push eax
call fcn.0044f960
add esp, 4
push 5
mov esi, 0xf
push 0x632c84
lea ecx, [esp + 0xc0]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
call fcn.004113e0
mov ecx, dword [esp + 0x38]
push ecx
mov byte [esp + 0x128], 0xf
lea ecx, [esp + 0x18]
lea edi, [esp + 0x44]
mov dword [esp + 0x18], 0xfde9
call fcn.0042a3a0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x130], 0x10
call fcn.0040dbb0
mov byte [esp + 0x124], 0xf
cmp dword [esp + 0x58], ebp
jb 0x40486b
mov edx, dword [esp + 0x44]
push edx
call fcn.0044f960
add esp, 4
push 6
push 0x632c8c
lea ecx, [esp + 0xc0]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.0040dcb0
mov edx, dword [esp + 0xbc]
cmp dword [esp + 0xd0], ebp
jae 0x4048a1
lea edx, [esp + 0xbc]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4048a6
sub eax, esi
push eax
push edx
lea eax, [esp + 0x100]
call fcn.0040cc50
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x100]
push eax
call fcn.00411020
cmp dword [esp + 0xd0], ebp
jb 0x4048ea
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.0044f960
add esp, 4
mov esi, 0xf
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x110], ebp
jb 0x40491d
mov edx, dword [esp + 0xfc]
push edx
call fcn.0044f960
add esp, 4
cmp dword [esp + 0x98], 8
mov dword [esp + 0x110], esi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
jb 0x40494c
mov eax, dword [esp + 0x84]
push eax
call fcn.0044f960
add esp, 4
xor ecx, ecx
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], cx
cmp dword [esp + 0xb4], ebp
jb 0x404981
mov edx, dword [esp + 0xa0]
push edx
call fcn.0044f960
add esp, 4
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0xd4], vtable.Json::FastWriter.0
cmp dword [esp + 0xf0], ebp
jb 0x4049ba
mov eax, dword [esp + 0xdc]
push eax
call fcn.0044f960
add esp, 4
lea ecx, [esp + 0xd4]
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
call fcn.0042b630
lea ecx, [esp + 0x24]
mov dword [esp + 0x124], 0xffffffff
call fcn.00425250
mov eax, 1
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0058845d
add esp, 0x114
ret 0xc