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

Disassembly:
push 0xffffffffffffffff
push 0x10082925
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
mov eax, dword [esp + 0x2c8]
push ebx
push ebp
mov ebp, ecx
mov ebx, dword [eax + 8]
push esi
lea esi, [ebp + 0x480]
push edi
test ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], esi
jne 0x100053af
mov edi, dword [esi + 4]
test edi, edi
je 0x100053a2
mov esi, dword [esi + 8]
mov ecx, esi
dec esi
test ecx, ecx
je 0x10005382
inc esi
push 0
mov ecx, edi
call fcn.100094d0
add edi, 0x40
dec esi
jne 0x10005373
mov eax, dword [ebp + 0x484]
lea esi, [ebp + 0x480]
push eax
mov dword [esp + 0x14], esi
call fcn.100621a8
add esp, 4
mov dword [esi + 4], 0
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
jmp 0x100054b1
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x100053d9
mov edx, ebx
shl edx, 6
push edx
call fcn.1006217f
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call fcn.10009220
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
jmp 0x100054b1
mov edi, dword [esi + 0xc]
cmp ebx, edi
jg 0x10005419
mov eax, dword [esi + 8]
cmp eax, ebx
jge 0x100053ff
mov edx, ebx
sub edx, eax
shl eax, 6
add eax, ecx
push edx
push eax
call fcn.10009220
mov dword [esi + 8], ebx
jmp 0x100054b1
jle 0x10005411
sub eax, ebx
push eax
mov eax, ebx
shl eax, 6
add eax, ecx
push eax
call fcn.100091f0
mov dword [esi + 8], ebx
jmp 0x100054b1
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x10005444
mov eax, dword [esi + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x10005438
mov eax, 4
jmp 0x10005444
cmp eax, 0x400
jle 0x10005444
mov eax, 0x400
add eax, edi
cmp ebx, eax
mov dword [esp + 0x14], eax
jl 0x10005452
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x14]
shl ecx, 6
push ecx
call fcn.1006217f
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
shl ecx, 6
mov ebp, eax
mov edx, ecx
mov edi, ebp
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov ecx, ebx
mov eax, dword [esi + 8]
sub ecx, eax
shl eax, 6
add eax, ebp
push ecx
push eax
call fcn.10009220
mov eax, dword [esi + 4]
push eax
call fcn.100621a8
mov edx, dword [esp + 0x18]
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edx
xor ecx, ecx
mov dword [esp + 0x40], 0x10088158
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ecx
xor edi, edi
cmp ebx, ecx
mov dword [esp + 0x2d0], ecx
mov dword [esp + 0x28], edi
jle 0x10005908
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ecx
jmp 0x100054f0
xor ecx, ecx
mov eax, dword [esp + 0x2d8]
cmp edi, dword [eax + 8]
jb 0x10005500
xor esi, esi
jmp 0x10005509
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x2c]
add esi, eax
test byte [esi + 0x418], 0x10
je 0x1000551f
mov dword [esp + 0x38], 1
jmp 0x100055e3
mov dword [esp + 0x38], ecx
push esi
lea ecx, [esp + 0x24]
call fcn.10066b6a
mov eax, dword [esp + 0x20]
mov byte [esp + 0x2d0], 1
cmp dword [eax - 8], 6
jl 0x10005576
lea ecx, [esp + 0x34]
push 6
push ecx
lea ecx, [esp + 0x28]
call fcn.1005c2fb
mov edx, dword [esp + 0x34]
push str..ipgft
push edx
call fcn.100148a4
add esp, 8
mov byte [esp + 0x2d0], 1
test eax, eax
lea ecx, [esp + 0x34]
je 0x100055b2
call fcn.10066af6
mov eax, dword [esp + 0x20]
cmp dword [eax - 8], 0xa
jl 0x100055d2
lea ecx, [esp + 0x30]
push 0xa
push ecx
lea ecx, [esp + 0x28]
call fcn.1005c2fb
mov edx, dword [esp + 0x30]
push str..ipgft.cfg
push edx
call fcn.100148a4
add esp, 8
mov byte [esp + 0x2d0], 1
test eax, eax
lea ecx, [esp + 0x30]
jne 0x100055cd
call fcn.10066af6
lea ecx, [esp + 0x20]
mov byte [esp + 0x2d0], 0
call fcn.10066af6
jmp 0x100058e9
call fcn.10066af6
lea ecx, [esp + 0x20]
mov byte [esp + 0x2d0], 0
call fcn.10066af6
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax + 0x2a8]
test ecx, ecx
jne 0x100055fd
test byte [esi + 0x418], 2
jne 0x100058e9
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x488]
lea eax, [ebp + 0x480]
cmp ecx, edx
jb 0x10005615
xor edi, edi
jmp 0x1000561e
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x3c]
add edi, eax
mov edx, dword [esi + 0x424]
push esi
lea ecx, [edi + 4]
mov dword [edi], edx
call fcn.10066c8d
push esi
lea ecx, [esp + 0x18]
call fcn.10066b6a
push 0x2e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2d4], 4
call fcn.1005c443
test eax, eax
jle 0x10005682
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
call fcn.1005c377
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2d4], 5
call fcn.10066c3d
lea ecx, [esp + 0x60]
mov byte [esp + 0x2d0], 4
call fcn.10066af6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10005bf0
add esp, 4
mov dword [edi + 8], eax
test eax, eax
je 0x100056ac
mov eax, dword [esp + 0x14]
lea edx, [edi + 0x10]
push edx
push str._I64u
push eax
call fcn.100142e9
add esp, 0xc
mov eax, dword [esi + 0x410]
mov edx, dword [esi + 0x414]
add eax, 0x3ff
mov ecx, 0xa
adc edx, 0
call fcn.10014990
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x18], eax
test ecx, ecx
mov dword [edi + 0x1c], edx
jne 0x10005766
mov ecx, dword [0x1009d100]
mov dword [esp + 0x1c], ecx
push edx
push eax
lea edx, [esp + 0x24]
push str._I64d
push edx
mov byte [esp + 0x2e0], 6
call fcn.1005c7d9
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov eax, dword [eax - 8]
cmp eax, 3
mov dword [esp + 0x58], eax
jle 0x1000573a
mov ebp, 3
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
push 0x2c
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x20]
sub eax, ebx
sub eax, ebp
inc ebx
push eax
add ebp, 3
call fcn.1005bef1
cmp ebp, dword [esp + 0x58]
jl 0x10005719
push 0x1009b5b8
lea ecx, [esp + 0x20]
call fcn.10066ee7
lea edx, [esp + 0x1c]
lea ecx, [edi + 0x20]
push edx
call fcn.10066c3d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2d0], 4
call fcn.10066af6
lea eax, [esi + 0x208]
lea ecx, [edi + 0x24]
push eax
call fcn.10066c8d
lea ecx, [esi + 0x41c]
push ecx
lea ecx, [esp + 0xa8]
call fcn.1001266b
lea edx, [esp + 0x54]
push str._Y__m__d__H:_M:_S
push edx
lea ecx, [esp + 0xac]
call fcn.10012a7b
push eax
lea ecx, [edi + 0x28]
mov byte [esp + 0x2d4], 7
call fcn.10066c3d
lea ecx, [esp + 0x54]
mov byte [esp + 0x2d0], 4
call fcn.10066af6
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [edi + 0x34], ecx
je 0x100057ec
mov ebp, dword [esp + 0x10]
lea ebx, [ebp + 1]
mov eax, ebx
or eax, 0x80000000
jmp 0x100057f7
mov edx, dword [esp + 0x10]
mov ebp, edx
lea ebx, [edx + 1]
mov eax, ebx
mov dword [edi + 0x38], eax
mov al, byte [esi + 0x418]
test al, 0x10
je 0x100058ad
mov ecx, 0x85
xor eax, eax
lea edi, [esp + 0xb2]
mov word [esp + 0xb0], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x414]
stosw word es:[edi], ax
mov eax, dword [esi + 0x410]
mov dword [esp + 0x2bc], ecx
mov dword [esp + 0x2b8], eax
mov eax, dword [edx + 0x180]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x2c4], ebp
call fcn.1002ccb0
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0xb8]
push 0x1009b5ac
push ecx
call fcn.10014835
add esp, 0x10
lea ecx, [esp + 0x5c]
call fcn.1002d520
mov esi, dword [esp + 0x48]
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
lea edx, [esi + 1]
push edx
call fcn.10008cd0
mov edx, dword [esp + 0x44]
mov eax, esi
shl eax, 5
add eax, esi
lea ecx, [esi + eax*2]
lea esi, [esp + 0xb0]
lea edi, [edx + ecx*8]
mov ecx, 0x86
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
push ebp
lea ecx, [eax + 0x494]
call fcn.1000c8e0
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
add eax, 0x40
mov dword [esp + 0x10], ebx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x2d0], 0
call fcn.10066af6
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
inc edi
add ecx, 0x428
cmp edi, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
jl 0x100054ee
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x488]
cmp eax, ecx
jle 0x100059d3
mov edi, dword [ebp + 0x488]
sub eax, ecx
mov ebx, eax
lea eax, [ebp + 0x480]
mov ebp, ecx
sub edi, ebx
shl ebp, 6
sub edi, ecx
mov ecx, dword [eax + 4]
mov esi, ebp
add esi, ecx
test ebx, ebx
mov dword [esp + 0x24], esi
je 0x10005996
lea ecx, [ebx]
mov dword [esp + 0x28], ecx
lea ecx, [esi + 0x28]
mov byte [esp + 0x2d0], 0xa
call fcn.10066af6
lea ecx, [esi + 0x24]
mov byte [esp + 0x2d0], 9
call fcn.10066af6
lea ecx, [esi + 0x20]
mov byte [esp + 0x2d0], 8
call fcn.10066af6
lea ecx, [esi + 4]
mov byte [esp + 0x2d0], 0
call fcn.10066af6
mov eax, dword [esp + 0x28]
add esi, 0x40
dec eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
jne 0x10005944
test edi, edi
je 0x100059c3
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
shl edi, 6
lea eax, [edx + 0x480]
lea edx, [ebx + ecx]
shl edx, 6
mov eax, dword [eax + 4]
push edi
add edx, eax
add eax, ebp
push edx
push eax
call fcn.10014500
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x18]
add eax, 0x480
sub dword [eax + 8], ebx
mov eax, dword [0x1009d100]
mov dword [esp + 0x68], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
push 0x100a3a78
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2d4], 0xe
mov dword [esp + 0x68], 0
call fcn.10066c8d
xor esi, esi
push 0x100a3a78
lea ecx, [esp + 0x88]
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
call fcn.10066c8d
push 0x100a3a78
lea ecx, [esp + 0x8c]
call fcn.10066c8d
push 0x100a3a78
lea ecx, [esp + 0x90]
call fcn.10066c8d
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
push 0x1009b5a4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2d4], 0xf
call fcn.10066c8d
mov eax, dword [0x1009b100]
cmp eax, 0xffffffff
jne 0x10005a9f
mov ecx, dword [ebp + 0x1bc]
mov dword [esp + 0x64], ecx
jmp 0x10005aa3
mov dword [esp + 0x64], eax
mov edi, dword [ebp + 0x488]
lea esi, [ebp + 0x480]
push 0xffffffffffffffff
mov ecx, esi
lea edx, [edi + 1]
mov dword [esp + 0xa0], 0xffffffff
push edx
call fcn.100089c0
lea eax, [esp + 0x24]
mov ebx, edi
test eax, eax
jne 0x10005ad5
mov ebx, dword [esp + 0x24]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
shl ecx, 6
add ecx, edx
call fcn.10008c30
lea edi, [ebp + 0x494]
push ebx
mov ecx, edi
call fcn.1000c8e0
mov esi, dword [ebp + 0xbc]
mov ebp, dword [ebp + 0xc0]
cmp esi, 0xffffffff
jne 0x10005b0f
xor esi, esi
mov ebp, 1
mov ebx, dword [esp + 0x18]
push ebp
push esi
lea ecx, [ebx + 0x80]
call fcn.1000f210
push ebp
push esi
mov ecx, edi
call fcn.1000c9e0
push 3
mov ecx, edi
call fcn.1000c920
push eax
lea ecx, [ebx + 0x44]
call fcn.1005d9fa
mov edx, dword [ebx + 0x60]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [esp + 0x40]
lea ecx, [ebx + 0x1c0]
push eax
call fcn.1000a900
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2d0], 0x12
call fcn.10066af6
lea ecx, [esp + 0x88]
mov byte [esp + 0x2d0], 0x11
call fcn.10066af6
lea ecx, [esp + 0x84]
mov byte [esp + 0x2d0], 0x10
call fcn.10066af6
lea ecx, [esp + 0x68]
mov byte [esp + 0x2d0], 0
call fcn.10066af6
mov dword [esp + 0x40], 0x10088158
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebp
test eax, eax
mov dword [esp + 0x2c4], 0x13
pop ebx
je 0x10005bce
push eax
call fcn.100621a8
add esp, 4
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
add esp, 0x2c4
ret 4