Function at 0x59026f10
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5914eca2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [esp + 0x68]
push ebx
push ebp
push esi
push edi
push eax
call fcn.59009f90
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x590275f0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x590275f0
push 0x5001
call fcn.5913e1e0
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x3c], ebx
je 0x590275f0
mov ecx, dword [esp + 0x7c]
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [ecx + 4]
test eax, eax
jle 0x590275e7
jmp 0x59026f86
mov esi, dword [esp + 0x14]
mov eax, dword [0x591ae1c8]
test eax, eax
je 0x59026fc3
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
mov edx, dword [esp + 0x88]
mov ecx, dword [eax + esi*4]
mov eax, dword [edx]
push ecx
mov ecx, dword [eax + esi*4]
push ecx
push esi
push str.GetAttachChipInfo_Attach__d___s___d_
push str.Combine
push 0xffffffffffffffff
push 0x591ae15c
call fcn.590851e0
add esp, 0x1c
mov edx, dword [esp + 0x80]
mov dword [ebx], 0
lea ebp, [esi*4]
mov eax, dword [edx]
mov edi, dword [eax + ebp]
cmp edi, 0x5000
jle 0x59026fe9
mov edi, 0x5000
mov ecx, dword [esp + 0x7c]
push 0x180
push 0x8000
mov edx, dword [ecx]
mov eax, dword [edx + ebp]
push eax
call fcn.5908a6ad
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x590275cf
push edi
push ebx
push esi
call fcn.5908ae5b
push esi
call fcn.5908a3dd
mov eax, dword [0x591638c0]
add esp, 0x10
mov dword [esp + 0x5c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x60], eax
mov byte [esp + 0x70], 1
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x84]
mov eax, ebp
mov dword [esp + 0x70], 3
mov esi, dword [ecx]
lea ecx, [esp + 0x20]
add eax, esi
push eax
call fcn.590a6c60
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x74], 4
call fcn.590a77f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 3
call fcn.590a7660
mov edx, dword [0x591638c0]
mov dword [esp + 0x10], edx
push 0x5918a2d4
push edi
push ebx
mov byte [esp + 0x7c], 5
call fcn.5900f7b0
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x590270df
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 3
call fcn.590a7660
lea ecx, [esp + 0x64]
mov dword [esp + 0x70], 7
call fcn.590a7660
lea ecx, [esp + 0x60]
mov byte [esp + 0x70], 6
call fcn.590a7660
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], esi
call fcn.590a7660
jmp 0x590275cf
mov edi, 0x5918a2d4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x24]
not ecx
mov eax, dword [edi + 0x44]
dec ecx
add esi, ecx
mov ecx, dword [edi + 0x40]
push eax
push ecx
push esi
push ebx
push edx
call fcn.5901c360
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 9
call fcn.590a77f0
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 5
call fcn.590a7660
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59027141
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x60]
call fcn.590a77f0
mov edx, dword [edi + 0x54]
mov eax, dword [edi + 0x50]
push edx
push eax
push esi
lea ecx, [esp + 0x38]
push ebx
push ecx
call fcn.5901c360
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 0xa
call fcn.590a77f0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 5
call fcn.590a7660
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.590a6c60
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x7c], 5
call fcn.59026e40
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x590271ba
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
mov ecx, dword [eax + ebp]
mov dword [esp + 0x48], ecx
jmp 0x590271cb
push 0xa
push 0
push eax
call fcn.5908a052
add esp, 0xc
mov dword [esp + 0x48], eax
mov edx, dword [edi + 0x64]
mov eax, dword [edi + 0x60]
push edx
push eax
push esi
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.5901c360
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 0xc
call fcn.590a77f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 5
call fcn.590a7660
cmp dword [esp + 0x78], 0x400
jne 0x5902724f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5902725a
push 0x26
push eax
call fcn.5908b148
add esp, 8
test eax, eax
je 0x59027228
mov word [eax], 0
mov eax, dword [0x591ae1c8]
test eax, eax
je 0x5902724f
mov edx, dword [esp + 0x10]
push edx
push 0x5918c598
push str.Combine
push 0xffffffffffffffff
push 0x591ae15c
call fcn.590851e0
add esp, 0x14
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x59027264
mov dword [esp + 0x54], 0
jmp 0x59027275
push 0xa
push 0
push eax
call fcn.5908a052
add esp, 0xc
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x58]
push eax
push ecx
push esi
lea edx, [esp + 0x40]
push ebx
push edx
call fcn.5901c360
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 0xd
call fcn.590a77f0
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 5
call fcn.590a7660
push 0x5918986c
push 0x5918b260
push esi
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.5901c1f0
add esp, 0x14
mov eax, dword [esp + 0x10]
mov byte [esp + 0x70], 0xe
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x590272ec
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x590272ec
push 0xa
push 0
push eax
call fcn.5908a052
add esp, 0xc
jmp 0x59027303
mov edx, dword [esp + 0x84]
push 0
mov eax, dword [edx]
mov eax, dword [eax + ebp]
push eax
call fcn.590c5a60
add esp, 8
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x60]
mov esi, dword [edx]
mov dword [esp + 0x4c], eax
add ebp, esi
push ebp
call fcn.590a77f0
mov ebx, dword [esp + 0x90]
mov eax, dword [ebx + 4]
mov esi, dword [ebx]
mov ebp, eax
mov dword [esp + 0x38], ebp
inc ebp
test ebp, ebp
jne 0x59027376
test esi, esi
je 0x59027369
mov ecx, eax
dec eax
test ecx, ecx
je 0x59027358
lea ebp, [eax + 1]
push 0
mov ecx, esi
call fcn.590607f0
add esi, 0x24
dec ebp
jne 0x59027349
mov eax, dword [ebx]
push eax
call fcn.5913e209
add esp, 4
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
jmp 0x59027523
test esi, esi
jne 0x590273de
lea esi, [ebp + ebp*8]
shl esi, 2
push esi
call fcn.5913e1e0
mov ecx, esi
mov edi, eax
mov edx, ecx
mov dword [ebx], edi
xor eax, eax
mov ebx, edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x18], ebx
rep stosb byte es:[edi], al
lea esi, [ebp]
mov dword [esp + 0x40], ebx
test ebx, ebx
mov byte [esp + 0x70], 0xf
je 0x590273bd
mov ecx, ebx
call fcn.59027610
add ebx, 0x24
mov byte [esp + 0x70], 0xe
dec esi
mov dword [esp + 0x18], ebx
jne 0x590273a9
mov eax, dword [esp + 0x90]
mov dword [eax + 8], ebp
mov dword [eax + 4], ebp
jmp 0x5902751c
mov edi, dword [ebx + 8]
cmp ebp, edi
jg 0x5902747c
cmp eax, ebp
jge 0x59027450
mov edx, ebp
sub edx, eax
lea eax, [eax + eax*8]
lea ecx, [edx + edx*8]
lea esi, [esi + eax*4]
shl ecx, 2
mov ebx, ecx
xor eax, eax
mov edi, esi
mov dword [esp + 0x18], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
dec edx
test ecx, ecx
je 0x59027441
lea edi, [edx + 1]
mov bl, 0x10
mov dword [esp + 0x40], esi
test esi, esi
mov byte [esp + 0x70], bl
je 0x59027432
mov ecx, esi
call fcn.59027610
add esi, 0x24
mov byte [esp + 0x70], 0xe
dec edi
mov dword [esp + 0x18], esi
jne 0x5902741f
mov ebx, dword [esp + 0x90]
mov dword [ebx + 4], ebp
jmp 0x59027523
jle 0x59027448
sub eax, ebp
lea edx, [ebp + ebp*8]
mov ecx, eax
dec eax
test ecx, ecx
lea esi, [esi + edx*4]
je 0x59027448
lea edi, [eax + 1]
push 0
mov ecx, esi
call fcn.590607f0
add esi, 0x24
dec edi
jne 0x59027465
mov dword [ebx + 4], ebp
jmp 0x59027523
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jne 0x590274a7
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x5902749a
mov ecx, 4
jmp 0x590274a7
cmp ecx, 0x400
jle 0x590274a7
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
jge 0x590274b4
mov dword [esp + 0x18], eax
jmp 0x590274ba
mov dword [esp + 0x18], ebp
mov eax, ebp
lea edx, [eax + eax*8]
shl edx, 2
push edx
call fcn.5913e1e0
mov ebx, eax
mov eax, dword [esp + 0x94]
mov edi, ebx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
lea ecx, [ecx + ecx*8]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 4]
mov ecx, ebp
sub ecx, eax
lea edx, [eax + eax*8]
push ecx
lea eax, [ebx + edx*4]
push eax
call fcn.59061530
mov esi, dword [esp + 0x9c]
mov eax, dword [esi]
push eax
call fcn.5913e209
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov dword [esi], ebx
mov dword [esi + 4], ebp
mov dword [esi + 8], ecx
mov ebx, dword [esp + 0x90]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
lea edx, [eax + eax*8]
mov eax, dword [ebx]
lea esi, [eax + edx*4]
mov dword [esi], ecx
mov edx, dword [esp + 0x48]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x4c]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x50]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x5c]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x58]
push ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], eax
call fcn.590a77f0
lea edx, [esp + 0x60]
lea ecx, [esi + 0x1c]
push edx
call fcn.590a77f0
lea eax, [esp + 0x64]
lea ecx, [esi + 0x20]
push eax
call fcn.590a77f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 5
call fcn.590a22e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 3
call fcn.590a7660
lea ecx, [esp + 0x64]
mov dword [esp + 0x70], 0x12
call fcn.590a7660
lea ecx, [esp + 0x60]
mov byte [esp + 0x70], 0x11
call fcn.590a7660
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], 0xffffffff
call fcn.590a7660
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
inc eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], eax
cmp eax, edx
jl 0x59026f82
push ebx
call fcn.5913e209
add esp, 4
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret