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

Disassembly:
push 0xffffffffffffffff
push 0x492b28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push ecx
lea eax, [ebx + 0x3a8]
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
mov dword [esp + 0x48], ebx
call fcn.0048299f
lea ecx, [esp + 0x88]
push ecx
call fcn.00401080
add esp, 8
mov edi, dword [esp + 0x1c4]
xor esi, esi
mov dword [esp + 0x1bc], esi
lea eax, [edi*8]
sub eax, edi
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x11c]
lea ebp, [edi + edx*2]
shl ebp, 2
mov dword [esp + 0x14], ebp
mov dword [eax + ebp], esi
mov ecx, dword [0x4aca3c]
mov dword [esp + 0x80], ecx
push edi
lea edx, [esp + 0x84]
push str.save_d.dat
push edx
mov byte [esp + 0x1c8], 1
call fcn.0048167d
add esp, 0xc
lea ecx, [esp + 0x4c]
push 0x400
call fcn.0048a09c
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
push ecx
lea eax, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x1c4], 2
call fcn.0048299f
lea ecx, [esp + 0x48]
push ecx
call fcn.004013c0
add esp, 8
mov esi, dword [eax]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1bc], 3
call fcn.004831ab
push 0
push 0
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c8], 4
call fcn.004832bd
test eax, eax
je 0x427fdb
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x2c]
push edx
call fcn.00483908
test eax, eax
je 0x427fb1
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x48]
push 4
push ecx
lea ecx, [esp + 0x34]
call fcn.004833da
lea edx, [esp + 0x10]
push 4
push edx
lea ecx, [esp + 0x34]
call fcn.004833da
cmp dword [esp + 0x48], 0x32564153
je 0x427ff3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1bc], 3
call fcn.00483200
xor esi, esi
jmp 0x4280e6
lea ecx, [esp + 0x2c]
call fcn.004835b7
mov ebp, eax
sub ebp, 8
js 0x428014
push ebp
call fcn.004634e7
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
jne 0x42802c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1bc], 3
call fcn.00483200
xor esi, esi
jmp 0x4280e2
push ebp
push eax
lea ecx, [esp + 0x34]
call fcn.004833da
mov eax, dword [esp + 0x74]
push 0
push ebp
push eax
lea ecx, [esp + 0x58]
call fcn.0048a124
xor eax, eax
test ebp, ebp
jle 0x4280c2
mov edx, dword [esp + 0x10]
mov ecx, ebp
mov dword [esp + 0x28], ecx
cmp ecx, 4
mov dword [esp + 0x24], 0
jl 0x42806a
mov ecx, 4
mov esi, dword [esp + 0x74]
mov ebx, ecx
add esi, eax
lea edi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add eax, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
sub edx, ecx
mov ecx, dword [esp + 0x28]
sub ecx, 4
cmp eax, ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], ecx
jl 0x428058
mov edi, dword [esp + 0x1c4]
mov ebx, dword [esp + 0x40]
xor esi, esi
cmp edx, esi
je 0x4280c8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1bc], 3
call fcn.00483200
jmp 0x4280e2
mov edx, dword [esp + 0x10]
jmp 0x4280a9
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], esi
mov byte [esp + 0x1bc], 3
call fcn.00483200
mov esi, 1
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x44]
mov byte [esp + 0x1bc], 2
call fcn.00482c2a
test esi, esi
je 0x428639
mov ecx, dword [ebx + 0x11c]
mov dword [esp + 0x24], 0
mov dword [ecx + ebp], 1
mov edx, dword [ebx + 0x11c]
mov ecx, dword [esp + 0x7c]
lea eax, [edx + ebp + 0x1c]
mov dword [eax], ecx
mov edx, dword [ebx + 0x11c]
lea ecx, [edx + ebp + 0x20]
call fcn.00482bb5
lea esi, [ebp + 0x28]
mov ebp, 0x20
mov ecx, dword [ebx + 0x11c]
add ecx, esi
call fcn.00482bb5
add esi, 4
dec ebp
jne 0x42813b
mov eax, dword [ebx + 0x11c]
mov ebp, dword [esp + 0x14]
lea ecx, [eax + ebp + 0x24]
call fcn.00482bb5
mov ecx, dword [ebx + 0x11c]
mov dword [ecx + ebp + 0x18], 1
mov ecx, dword [ebx + 0x120]
cmp ecx, 0xffffffff
je 0x4281b3
lea eax, [ecx*8]
sub eax, ecx
lea edx, [eax + eax*2]
lea eax, [ecx + edx*2]
mov ecx, dword [ebx + 0x11c]
push ecx
mov edx, dword [ecx + eax*4 + 0x1c]
lea eax, [ecx + eax*4 + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
mov dword [ecx], edx
mov eax, dword [ebx + 0x11c]
lea ecx, [eax + ebp + 0x1c]
call fcn.004286d0
test eax, eax
je 0x4281b9
mov dword [ebx + 0x120], edi
lea eax, [ebp + 0x28]
mov edi, eax
mov dword [esp + 0x48], edi
jmp 0x4281c8
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x94]
push 4
push ecx
lea ecx, [esp + 0x54]
call dword [edx + 0x34]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x90]
push 4
push eax
lea ecx, [esp + 0x54]
call dword [edx + 0x34]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x4c]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x90]
not ecx
add eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x94]
not eax
cmp eax, 0x4c544954
mov dword [esp + 0x3c], eax
ja 0x42845b
je 0x42840f
cmp eax, 0x444e4957
je 0x42832f
cmp eax, 0x45544144
jne 0x428610
mov edx, dword [ebx + 0x11c]
xor esi, esi
lea edi, [edx + ebp + 4]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x1e]
push 1
push eax
lea ecx, [esp + 0x54]
call dword [edx + 0x34]
mov al, byte [esp + 0x1e]
inc esi
not al
mov byte [esi + edi - 1], al
cmp esi, 4
jb 0x42824c
mov ecx, dword [ebx + 0x11c]
mov ebp, dword [esp + 0x14]
xor esi, esi
lea edi, [ecx + ebp + 8]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x1a]
push 1
push edx
lea ecx, [esp + 0x54]
call dword [eax + 0x34]
mov cl, byte [esp + 0x1a]
inc esi
not cl
mov byte [esi + edi - 1], cl
cmp esi, 4
jb 0x42827e
mov edx, dword [ebx + 0x11c]
xor esi, esi
lea edi, [edx + ebp + 0xc]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x1b]
push 1
push eax
lea ecx, [esp + 0x54]
call dword [edx + 0x34]
mov al, byte [esp + 0x1b]
inc esi
not al
mov byte [esi + edi - 1], al
cmp esi, 4
jb 0x4282ac
mov ecx, dword [ebx + 0x11c]
xor esi, esi
lea edi, [ecx + ebp + 0x10]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x1f]
push 1
push edx
lea ecx, [esp + 0x54]
call dword [eax + 0x34]
mov cl, byte [esp + 0x1f]
inc esi
not cl
mov byte [esi + edi - 1], cl
cmp esi, 4
jb 0x4282da
mov edx, dword [ebx + 0x11c]
xor esi, esi
lea edi, [edx + ebp + 0x14]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x1c]
push 1
push eax
lea ecx, [esp + 0x54]
call dword [edx + 0x34]
mov al, byte [esp + 0x1c]
inc esi
not al
mov byte [esi + edi - 1], al
cmp esi, 4
jb 0x428308
jmp 0x42860c
mov ecx, dword [0x4aca3c]
mov dword [esp + 0x10], ecx
mov byte [esp + 0x1bc], 7
xor esi, esi
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x21]
push 1
push edx
lea ecx, [esp + 0x54]
call dword [eax + 0x34]
mov cl, byte [esp + 0x21]
inc esi
not cl
mov byte [esp + esi + 0x87], cl
cmp esi, 4
jb 0x428343
xor esi, esi
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x23]
push 1
push edx
lea ecx, [esp + 0x54]
call dword [eax + 0x34]
mov cl, byte [esp + 0x23]
inc esi
not cl
mov byte [esp + esi + 0x8b], cl
cmp esi, 4
jb 0x42836a
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x22]
push 1
push edx
lea ecx, [esp + 0x54]
call dword [eax + 0x34]
mov cl, byte [esp + 0x22]
not cl
mov byte [esp + 0x98], cl
mov esi, dword [esp + 0x98]
and esi, 0xff
lea ecx, [esp + 0x10]
push esi
push esi
call fcn.0048300e
push eax
lea ecx, [esp + 0x54]
call fcn.00407a60
push esi
lea ecx, [esp + 0x14]
call fcn.0048305d
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4283f9
mov eax, dword [ebx + 0x11c]
lea edx, [esp + 0x10]
push edx
lea ecx, [eax + ebp + 0x24]
call fcn.00482d17
lea ecx, [esp + 0x10]
mov byte [esp + 0x1bc], 2
call fcn.00482c2a
jmp 0x428610
mov ecx, dword [ebx + 0x11c]
lea edx, [esp + 0x28]
push 1
push edx
lea esi, [ecx + ebp + 0x20]
lea ecx, [esp + 0x54]
call fcn.00407a60
mov eax, dword [esp + 0x28]
mov ecx, esi
and eax, 0xff
push eax
push eax
call fcn.0048300e
push eax
lea ecx, [esp + 0x54]
call fcn.00407a60
mov eax, dword [esp + 0x28]
mov ecx, esi
and eax, 0xff
push eax
call fcn.0048305d
jmp 0x428610
cmp eax, 0x52545043
je 0x4285de
cmp eax, 0x54584554
jne 0x428610
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x4c]
call dword [edx + 0xc]
mov edx, dword [esp + 0x78]
xor ecx, ecx
cmp eax, edx
sete cl
mov eax, ecx
test eax, eax
jne 0x4285cc
mov eax, dword [0x4aca3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea edx, [esp + 0x44]
push 1
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x1c4], 5
call fcn.00407a60
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x2c]
and eax, 0xff
push eax
push eax
call fcn.0048300e
push eax
lea ecx, [esp + 0x54]
call fcn.00407a60
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x2c]
and eax, 0xff
push eax
call fcn.0048305d
lea ecx, [esp + 0x40]
push 1
push ecx
lea ecx, [esp + 0x54]
call fcn.00407a60
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x30]
and eax, 0xff
push eax
push eax
call fcn.0048300e
push eax
lea ecx, [esp + 0x54]
call fcn.00407a60
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x30]
and edx, 0xff
push edx
call fcn.0048305d
xor esi, esi
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x54]
call dword [edx + 0x34]
mov al, byte [esp + 0x20]
inc esi
not al
mov byte [esp + esi + 0x33], al
cmp esi, 4
jb 0x42852b
xor esi, esi
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x1d]
push 1
push ecx
lea ecx, [esp + 0x54]
call dword [edx + 0x34]
mov al, byte [esp + 0x1d]
inc esi
not al
mov byte [esp + esi + 0x37], al
cmp esi, 4
jb 0x42854f
cmp dword [esp + 0x24], 0x20
jae 0x42858a
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebx + 0x11c]
add ecx, edi
call fcn.00482ff6
lea ecx, [esp + 0x30]
mov byte [esp + 0x1bc], 6
call fcn.00482c2a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1bc], 2
call fcn.00482c2a
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x4c]
call dword [edx + 0xc]
mov edx, dword [esp + 0x78]
xor ecx, ecx
cmp eax, edx
sete cl
mov eax, ecx
test eax, eax
je 0x428491
mov ecx, dword [esp + 0x24]
inc ecx
add edi, 4
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], edi
jmp 0x428610
mov edx, dword [ebx + 0x11c]
xor esi, esi
lea edi, [edx + ebp + 0x18]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x19]
push 1
push eax
lea ecx, [esp + 0x54]
call dword [edx + 0x34]
mov al, byte [esp + 0x19]
inc esi
not al
mov byte [esi + edi - 1], al
cmp esi, 4
jb 0x4285ea
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x4c]
push 0
push ecx
lea ecx, [esp + 0x54]
call dword [edx + 0x28]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], 0
cmp eax, 0x20444e45
jne 0x4281c4
push ecx
lea eax, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x90], esp
push eax
call fcn.0048299f
lea ecx, [esp + 0x40]
push ecx
call fcn.00401080
add esp, 8
lea ecx, [esp + 0x3c]
call fcn.00482c2a
mov edx, dword [esp + 0x74]
mov byte [esp + 0x1bc], 1
push edx
call fcn.004633fe
add esp, 4
lea ecx, [esp + 0x4c]
call fcn.0048a161
lea ecx, [esp + 0x80]
mov byte [esp + 0x1bc], 0
call fcn.00482c2a
lea ecx, [esp + 0x84]
mov dword [esp + 0x1bc], 0xffffffff
call fcn.00482c2a
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1b0
ret 4