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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x128
mov edx, dword [0x56600c]
mov eax, dword [ebp + 8]
mov esi, ecx
xor edx, ebp
test eax, eax
mov dword [esp + 0x120], edx
mov dword [esp + 0x60], eax
je 0x410346
push eax
call fcn.004dd150
add esp, 4
jmp 0x410348
xor eax, eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push 0xffffffffffffffff
push 0x517508
push eax
call fcn.00418550
add esp, 0xc
cmp eax, 0xffffffff
je 0x4103a5
mov ecx, dword [esp + 0x64]
lea ebx, [eax + 1]
cmp ecx, eax
ja 0x410395
lea edi, [esp + 0x68]
mov ecx, edi
push str.n___length_
push 0xf3
push str..._.._base_strings_string_piece.h
call fcn.0040f4d0
mov ecx, edi
call fcn.0040f610
mov ecx, dword [esp + 0x64]
sub ecx, ebx
add ebx, dword [esp + 0x60]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ecx
jmp 0x4103a9
mov ebx, dword [esp + 0x60]
lea edi, [esi + 8]
mov dword [esi + 0xac], ebx
push 0x5b
push edi
call fcn.00410920
add esp, 8
mov eax, dword [0x56867c]
test eax, eax
je 0x4103db
push eax
push edi
call fcn.0045905b
add esp, 8
push 0x3a
push eax
call fcn.00410920
add esp, 8
cmp byte [0x568678], 0
je 0x410406
lea ebx, [esp + 0x68]
push ebx
call fcn.0042faa0
add esp, 4
push ebx
push edi
call fcn.0042fa80
add esp, 8
push 0x3a
push eax
call fcn.00410920
add esp, 8
cmp byte [0x568679], 0
je 0x410427
call fcn.00406cd0
mov ecx, edi
push eax
call fcn.00410b90
push 0x3a
push eax
call fcn.00410920
add esp, 8
cmp byte [0x56602c], 0
je 0x4105b0
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov byte [edi + eax + 0x40], 0x30
lea eax, [esp + 0x50]
push 0
push 2
push eax
call fcn.004fa7fc
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push eax
call dword [esp + 0x5c]
add esp, 0xc
movzx eax, word [esp + 0x6a]
mov ecx, edi
push eax
call fcn.00410d00
mov ebx, eax
lea eax, [esp + 0x40]
push 0
push 2
push eax
call fcn.004fa7fc
add esp, 0xc
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push eax
call dword [esp + 0x4c]
add esp, 0xc
movzx eax, word [esp + 0x6e]
mov ecx, ebx
push eax
call fcn.00410d00
push 0x2f
push eax
call fcn.00410920
add esp, 8
mov ebx, eax
lea eax, [esp + 0x30]
push 0
push 2
push eax
call fcn.004fa7fc
add esp, 0xc
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push eax
call dword [esp + 0x3c]
add esp, 0xc
movzx eax, word [esp + 0x70]
mov ecx, ebx
push eax
call fcn.00410d00
mov ebx, eax
lea eax, [esp + 0x20]
push 0
push 2
push eax
call fcn.004fa7fc
add esp, 0xc
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push eax
call dword [esp + 0x2c]
add esp, 0xc
movzx eax, word [esp + 0x72]
mov ecx, ebx
push eax
call fcn.00410d00
mov ebx, eax
lea eax, [esp + 0x10]
push 0
push 2
push eax
call fcn.004fa7fc
add esp, 0xc
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push eax
call dword [esp + 0x1c]
add esp, 0xc
movzx eax, word [esp + 0x74]
mov ecx, ebx
push eax
call fcn.00410d00
push 0x2e
push eax
call fcn.00410920
add esp, 8
mov ebx, eax
mov eax, esp
push 0
push 3
push eax
call fcn.004fa7fc
add esp, 0xc
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
push dword [esp + 0xc]
push dword [esp + 0xc]
push eax
call dword [esp + 0xc]
add esp, 0xc
movzx eax, word [esp + 0x76]
mov ecx, ebx
push eax
call fcn.00410d00
push 0x3a
push eax
call fcn.00410920
add esp, 8
cmp byte [0x56867a], 0
je 0x4105d4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, edi
push 0
push eax
call fcn.00410e70
push 0x3a
push eax
call fcn.00410920
add esp, 8
mov eax, dword [esi]
mov ebx, dword [ebp + 0xc]
test eax, eax
js 0x4105fa
mov ecx, str.UNKNOWN
cmp eax, 3
ja 0x4105ee
mov ecx, dword [eax*4 + 0x517580]
push ecx
push edi
call fcn.0045905b
add esp, 8
jmp 0x410614
push str.VERBOSE
push edi
call fcn.0045905b
add esp, 8
xor edx, edx
mov ecx, eax
sub edx, dword [esi]
push edx
call fcn.0040c41e
push 0x516da0
push edi
call fcn.0045905b
add esp, 8
lea ecx, [esp + 0x60]
push ecx
push eax
call fcn.00417d70
add esp, 8
push 0x517518
push eax
call fcn.0045905b
add esp, 8
mov ecx, eax
push ebx
call fcn.0040c41e
push 0x51751a
push eax
call fcn.0045905b
add esp, 8
lea eax, [esp + 0x68]
lea ecx, [esi + 0xc]
push eax
call fcn.0040ada0
mov eax, dword [esp + 0x78]
mov dword [esi + 0xa0], eax
mov eax, dword [esp + 0x7c]
cmp eax, 0x10
jb 0x4106a1
mov ecx, dword [esp + 0x68]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x410697
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4106b9
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.0047834a
add esp, 8
mov ecx, dword [esp + 0x120]
xor ecx, ebp
call fcn.00478339
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.004d7bfa
int3