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

Disassembly:
push 0xffffffffffffffff
push 0x45a89f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
mov eax, dword [0x469d0c]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x2ac], eax
call fcn.004044e0
mov dword [esp + 0x18], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x18]
mov dword [eax], eax
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2b8], ebx
call fcn.00401210
mov edi, dword [esp + 0x2c0]
lea esi, [esp + 0x1a8]
sub esi, edi
mov byte [esp + 0x2b8], 1
mov eax, edi
mov dword [esp + 0x10], esi
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
cmp cl, bl
jne 0x40ab44
lea eax, [esp + 0x1a8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40ab58
mov ecx, dword [0x469a00]
sub eax, edx
sub eax, ecx
lea edx, [esp + eax + 0x1a8]
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
cmp al, bl
jne 0x40ab70
push 1
push 0x1b6
push 1
lea eax, [esp + 0x1b4]
push eax
lea ecx, [esp + 0xc8]
call fcn.004099f0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 4]
mov ecx, dword [esp + ecx + 0xc0]
add eax, 4
test cl, 1
mov byte [esp + 0x2b8], 2
jne 0x40aea4
lea esp, [esp]
mov edi, 0xf
mov dword [esp + 0x168], edi
mov dword [esp + 0x164], ebx
mov byte [esp + 0x154], bl
mov ecx, dword [eax]
push 0xa
lea ecx, [esp + ecx + 0xbc]
mov byte [esp + 0x2bc], 3
call fcn.00408700
lea edx, [esp + 0x150]
push eax
push edx
lea eax, [esp + 0xc0]
push eax
call fcn.00409210
mov eax, dword [esp + 0x170]
add esp, 0xc
cmp eax, ebx
jne 0x40ac41
cmp dword [esp + 0x168], 0x10
mov byte [esp + 0x2b8], 2
jb 0x40ae6b
mov ecx, dword [esp + 0x154]
push ecx
call fcn.0044ad83
add esp, 4
jmp 0x40ae6b
push 1
push 1
lea edx, [esp + 0x158]
push edx
lea ecx, [esp + 0x40]
call fcn.00408fb0
mov dword [esp + 0x184], edi
mov dword [esp + 0x180], ebx
mov byte [esp + 0x170], bl
lea eax, [esp + 0x16c]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x2c4], 5
call fcn.00408c10
add esp, 8
push eax
call fcn.00408c10
mov eax, dword [esp + 0x188]
add esp, 8
cmp eax, 2
jbe 0x40ad2c
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x194]
mov dword [esp + 0x1ac], edi
mov dword [esp + 0x1a8], ebx
mov byte [esp + 0x198], bl
call fcn.00404650
mov dword [esp + 0x1a4], ebx
lea ecx, [esp + 0x188]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c0], 6
call fcn.0040a460
mov eax, dword [esp + 0x1a0]
mov ebp, 0x10
cmp eax, ebp
jb 0x40ad15
mov eax, dword [esp + 0x18c]
push eax
call fcn.0044ad83
add esp, 4
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x19c], ebx
mov byte [esp + 0x18c], bl
jmp 0x40ad31
mov ebp, 0x10
cmp dword [esp + 0x184], ebp
jb 0x40ad4a
mov ecx, dword [esp + 0x170]
push ecx
call fcn.0044ad83
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x184], edi
mov dword [esp + 0x180], ebx
mov byte [esp + 0x170], bl
mov ecx, dword [eax + 4]
lea edx, [esp + 0x84]
mov dword [esp + 0x20], edx
mov dword [esp + ecx + 0x34], 0x45ccc4
test byte [esp + 0x7c], 1
mov byte [esp + 0x2b8], 7
mov dword [esp + 0x3c], 0x45cc64
je 0x40ad9f
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
push eax
call fcn.0044ad83
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x5c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x6c]
mov dword [edx], ebx
mov eax, dword [esp + 0x50]
mov dword [eax], ebx
mov ecx, dword [esp + 0x60]
mov dword [ecx], ebx
mov edx, dword [esp + 0x70]
mov dword [edx], ebx
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
and edx, 0xfffffffe
cmp eax, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x3c], 0x45cc30
mov esi, eax
je 0x40ae18
mov eax, dword [eax]
cmp eax, ebx
je 0x40ae0f
mov ecx, dword [eax + 4]
cmp ecx, ebx
jbe 0x40adfa
cmp ecx, 0xffffffff
jae 0x40adfa
dec ecx
mov dword [eax + 4], ecx
mov edx, dword [eax + 4]
xor ecx, ecx
cmp edx, ebx
setne cl
dec ecx
and ecx, eax
je 0x40ae0f
mov eax, dword [ecx]
push 1
call dword [eax]
push esi
call fcn.0044ad83
add esp, 4
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x34], 0x45cb3c
lea ecx, [esp + 0x84]
mov byte [esp + 0x2b8], 3
mov dword [esp + 0x84], 0x45cb38
call fcn.0044a6eb
cmp dword [esp + 0x168], ebp
mov byte [esp + 0x2b8], 2
jb 0x40ae67
mov eax, dword [esp + 0x154]
push eax
call fcn.0044ad83
add esp, 4
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 4]
mov dl, byte [esp + ecx + 0xc0]
add eax, 4
test dl, 1
mov dword [esp + 0x168], edi
mov dword [esp + 0x164], ebx
mov byte [esp + 0x154], bl
je 0x40abc0
mov edi, dword [esp + 0x2c0]
lea ecx, [esp + 0xc0]
call fcn.00409810
test eax, eax
jne 0x40aee4
mov edx, dword [esp + 0xb8]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0xc0]
mov edx, dword [esp + ecx + 0xe0]
lea ecx, [esp + ecx + 0xb8]
or eax, 2
cmp edx, ebx
jne 0x40aedd
or eax, 4
push ebx
push eax
call fcn.0044a7d5
mov eax, edi
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
cmp cl, bl
jne 0x40aee6
mov eax, dword [0x469a04]
mov esi, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40aef7
lea edi, [esp + 0x1a8]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40af08
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1a8]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x2c]
call fcn.004012c0
push str.begin_
lea ecx, [esp + 0x2c]
call fcn.004013e0
mov ecx, dword [0x469a08]
push ecx
push str.create_table__s_crc_pre_int__pre_data_text__suffix_text__is_gk_int__
push 0x46afe8
call fcn.0044b4ff
add esp, 0xc
push 0x46afe8
lea ecx, [esp + 0x2c]
call fcn.004013e0
mov eax, dword [esp + 0x18]
mov ebp, dword [eax]
cmp ebp, eax
mov dword [esp + 0x10], ebp
je 0x40b0f6
push 2
push ebx
lea edx, [esp + 0x174]
lea esi, [ebp + 0xc]
push edx
mov ecx, esi
call fcn.00409380
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
mov byte [esp + 0x2b8], 8
jb 0x40afa4
mov eax, dword [eax + 4]
jmp 0x40afa7
add eax, 4
push 2
push eax
call fcn.00401540
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18c]
add esp, 8
cmp eax, edi
mov byte [esp + 0x2b8], 2
jb 0x40afd9
mov eax, dword [esp + 0x170]
push eax
call fcn.0044ad83
add esp, 4
push 0xffffffffffffffff
push 2
lea ecx, [esp + 0x190]
push ecx
mov ecx, esi
mov dword [esp + 0x190], 0xf
mov dword [esp + 0x18c], ebx
mov byte [esp + 0x17c], bl
call fcn.00409380
mov edi, eax
push 2
push ebx
lea edx, [esp + 0x158]
push edx
mov ecx, esi
mov byte [esp + 0x2c4], 9
call fcn.00409380
mov ecx, dword [edi + 0x18]
mov esi, 0x10
cmp ecx, esi
jb 0x40b032
mov edi, dword [edi + 4]
jmp 0x40b035
add edi, 4
cmp dword [eax + 0x18], esi
jb 0x40b03f
mov eax, dword [eax + 4]
jmp 0x40b042
add eax, 4
mov ecx, dword [ebp + 0x28]
mov edx, dword [esp + 0x20]
push ecx
push edi
push eax
mov eax, dword [0x469a08]
push ebx
push edx
push eax
push str.insert_into__s_crc_pre__pre_data__suffix__is_gk__values__I64d____s_____s____d__
push 0x46afe8
call fcn.0044b4ff
mov eax, dword [esp + 0x188]
add esp, 0x20
cmp eax, esi
jb 0x40b081
mov ecx, dword [esp + 0x154]
push ecx
call fcn.0044ad83
add esp, 4
cmp dword [esp + 0x1a0], esi
mov edi, 0xf
mov dword [esp + 0x168], edi
mov dword [esp + 0x164], ebx
mov byte [esp + 0x154], bl
mov byte [esp + 0x2b8], 2
jb 0x40b0bc
mov edx, dword [esp + 0x18c]
push edx
call fcn.0044ad83
add esp, 4
push 0x46afe8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x1a0], ebx
mov byte [esp + 0x190], bl
call fcn.004013e0
lea ecx, [esp + 0x10]
call fcn.0040b790
mov ebp, dword [esp + 0x10]
cmp ebp, dword [esp + 0x18]
jne 0x40af76
push str.end_
lea ecx, [esp + 0x2c]
call fcn.004013e0
lea ecx, [esp + 0x28]
call fcn.00401230
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x11c]
mov dword [esp + 0x20], eax
mov dword [esp + edx + 0xb8], 0x45cd04
lea ecx, [esp + 0xc0]
mov byte [esp + 0x2b8], 0xa
call fcn.00409870
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0xb8], 0x45cb3c
lea ecx, [esp + 0x11c]
mov byte [esp + 0x2b8], 1
mov dword [esp + 0x11c], 0x45cb38
call fcn.0044a6eb
lea ecx, [esp + 0x28]
mov byte [esp + 0x2b8], bl
call fcn.00401290
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c4], 0xffffffff
call fcn.0040a9d0
mov eax, dword [esp + 0x18]
push eax
call fcn.0044ad83
mov ecx, dword [esp + 0x2b4]
add esp, 4
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2a0]
pop ebx
call fcn.0044b588
add esp, 0x2ac
ret 4