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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52fa80
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x566148]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x566148]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
lea ecx, [eax + 8]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov edx, 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [ecx + 0x10], ebx
cmp dword [ecx + 0x14], edx
jb 0x418063
mov ecx, dword [ecx]
xor esi, esi
add eax, 0x24
mov word [ecx], si
mov dword [eax + 0x10], ebx
cmp dword [eax + 0x14], edx
jb 0x418075
mov eax, dword [eax]
xor ecx, ecx
push 0x32
mov word [eax], cx
xor edx, edx
mov esi, 7
push str.SELECT_lastpoll__lastmod__lastmod_fb_FROM_time_v1_
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], dx
call fcn.00404dc0
mov dword [esp + 0x98], ebx
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x70]
lea edi, [esp + 0x54]
call fcn.00466340
mov byte [esp + 0x98], 2
cmp dword [esp + 0x80], 8
jb 0x4180da
mov eax, dword [esp + 0x6c]
push eax
call fcn.004e895a
add esp, 4
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0x54]
xor ecx, ecx
push esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], cx
call fcn.004818a0
add esp, 4
push esi
call fcn.00481950
add esp, 4
cmp eax, ebx
je 0x418120
push eax
lea esi, [esp + 0x24]
call fcn.0042e470
push 0x555590
mov edx, esi
push edx
call fcn.004ecd9a
cmp esi, ebx
je 0x41812b
cmp word [esi + 0x30], 3
je 0x418196
push 0xb
push str.uibr::error
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], 0
call fcn.00407b20
mov byte [esp + 0x98], 3
cmp dword [esp + 0x48], 0x10
jb 0x418165
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
jmp 0x41816d
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x24]
call fcn.004e8fea
push 0x555550
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], vtable.uibr::error.0
mov dword [esp + 0x34], ebx
call fcn.004ecd9a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push eax
lea edi, [esp + 0x24]
call fcn.004c0a60
mov byte [esp + 0x98], 4
jmp 0x4181b2
xor ebx, ebx
push esi
call fcn.004822b0
mov ecx, eax
add esp, 4
sub ecx, ebx
je 0x4183df
sub ecx, 0x64
jne 0x418366
cmp dword [esi + 0x2c], ebx
je 0x4181f3
xor edx, edx
cmp dx, word [esi + 0x30]
jae 0x4181f3
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
cmp eax, ebx
je 0x4181ee
push eax
call dword [0x567f40]
add esp, 4
mov eax, dword [esi + 0x2c]
jmp 0x41821c
mov eax, dword [esi]
cmp eax, ebx
je 0x418217
mov eax, dword [eax + 0x44]
cmp eax, ebx
je 0x41820a
push eax
call dword [0x567f40]
add esp, 4
mov eax, dword [esi]
push ebx
push 0x19
call fcn.0046b110
add esp, 8
mov eax, 0x53bc88
call fcn.0047d6d0
mov edi, esi
mov ebx, eax
mov dword [esp + 0x18], edx
call fcn.004826a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [eax], ebx
mov dword [eax + 4], ecx
cmp dword [esi + 0x2c], 0
je 0x418267
mov edx, 1
cmp dx, word [esi + 0x30]
jae 0x418267
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x41825f
push eax
call dword [0x567f40]
add esp, 4
mov eax, dword [esi + 0x2c]
add eax, 0x28
jmp 0x418291
mov eax, dword [esi]
test eax, eax
je 0x41828c
mov eax, dword [eax + 0x44]
test eax, eax
je 0x41827e
push eax
call dword [0x567f40]
add esp, 4
mov eax, dword [esi]
push 0
push 0x19
call fcn.0046b110
add esp, 8
mov eax, 0x53bc88
push 2
push eax
call fcn.0047e120
add esp, 8
mov edi, esi
mov ebx, eax
call fcn.004826a0
test ebx, ebx
je 0x4182cd
mov eax, ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4182b0
mov ecx, dword [esp + 0x10]
sub eax, edx
sar eax, 1
push eax
push ebx
add ecx, 8
call fcn.00404dc0
cmp dword [esi + 0x2c], 0
je 0x4182f9
mov ecx, 2
cmp cx, word [esi + 0x30]
jae 0x4182f9
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
test eax, eax
je 0x4182f1
push eax
call dword [0x567f40]
add esp, 4
mov eax, dword [esi + 0x2c]
add eax, 0x50
jmp 0x418323
mov eax, dword [esi]
test eax, eax
je 0x41831e
mov eax, dword [eax + 0x44]
test eax, eax
je 0x418310
push eax
call dword [0x567f40]
add esp, 4
mov eax, dword [esi]
push 0
push 0x19
call fcn.0046b110
add esp, 8
mov eax, 0x53bc88
push 2
push eax
call fcn.0047e120
add esp, 8
mov edi, esi
mov ebx, eax
call fcn.004826a0
test ebx, ebx
je 0x4181b0
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418344
mov ecx, dword [esp + 0x10]
sub eax, edx
sar eax, 1
push eax
push ebx
add ecx, 0x24
call fcn.00404dc0
jmp 0x4181b0
dec ecx
je 0x418371
cmp eax, ebx
jne 0x4183f7
lea edi, [esp + 0x20]
call fcn.004c0b80
mov byte [esp + 0x98], 2
cmp byte [esp + 0x24], 0
jne 0x4183a8
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push str.ROLLBACK_
push eax
mov dword [esp + 0x28], ebx
call fcn.004a3fc0
add esp, 0x14
push esi
mov dword [esp + 0x9c], 0xffffffff
call fcn.004817e0
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004e8965
mov esp, ebp
pop ebp
ret 4
push 1
lea esi, [esp + 0x5c]
call fcn.0042e470
push 0x555590
mov eax, esi
push eax
call fcn.004ecd9a
push eax
lea esi, [esp + 0x38]
call fcn.0042e470
push 0x555590
mov ecx, esi
push ecx
call fcn.004ecd9a
int3