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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x498877
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x4b0f34]
xor eax, esp
mov dword [esp + 0x890], eax
push ebx
push esi
push edi
mov eax, dword [0x4b0f34]
xor eax, esp
push eax
lea eax, [esp + 0x8a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
push 0x4a7bd8
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], ecx
call fcn.00480690
mov edi, eax
xor ebx, ebx
add esp, 8
cmp edi, ebx
mov dword [esp + 0x50], edi
je 0x45aa7c
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45a8d0
sub eax, edx
movsx edx, byte [eax + esi - 1]
push edx
call fcn.0047fbe1
add esp, 4
cmp eax, 0x65
jne 0x45a9a3
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45a8f7
sub eax, edx
movsx eax, byte [eax + esi - 2]
push eax
call fcn.0047fbe1
add esp, 4
cmp eax, 0x78
jne 0x45a9a3
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45a920
sub eax, edx
movsx ecx, byte [eax + esi - 3]
push ecx
call fcn.0047fbe1
add esp, 4
cmp eax, 0x65
jne 0x45a9a3
push edi
xor esi, esi
call fcn.00480989
add esp, 4
test eax, eax
jne 0x45a99c
lea ecx, [ecx]
push edi
push 0x800
lea edx, [esp + 0xa4]
push 1
push edx
call fcn.004800db
add esp, 0x10
mov cl, 0x4b
xor eax, eax
lea esp, [esp]
cmp cl, byte [esp + eax + 0x9c]
jne 0x45aa83
mov cl, byte [eax + 0x4a7bdd]
add eax, 1
test cl, cl
jne 0x45a970
mov eax, esi
shl eax, 0xb
cdq
push ebx
push edx
push eax
push edi
call fcn.0048073c
add esp, 0x10
mov byte [0x4b6fd9], 1
lea ecx, [esp + 0x80]
call fcn.00406a80
mov dword [esp + 0x8b0], ebx
push 8
mov edi, 0xf
push str.KGB_arch
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], 0
call fcn.0045f9e0
mov byte [esp + 0x8b0], 1
mov ecx, dword [esp + 0x34]
lea esi, [esp + 0x64]
lea edx, [esp + 0x80]
call fcn.0045f070
mov edx, eax
mov byte [esp + 0x8b0], 2
call fcn.0045f0a0
test eax, eax
mov esi, 0x10
setne bl
mov byte [esp + 0x8b0], 1
cmp dword [esp + 0x7c], esi
jb 0x45aa28
mov eax, dword [esp + 0x68]
push eax
call fcn.00470055
add esp, 4
mov byte [esp + 0x8b0], 0
cmp dword [esp + 0x38], esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
jb 0x45aa54
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00470055
add esp, 4
test bl, bl
je 0x45aaa0
mov dword [esp + 0x8b0], 0xffffffff
cmp dword [esp + 0x98], esi
jb 0x45aa7c
mov edx, dword [esp + 0x84]
push edx
call fcn.00470055
add esp, 4
xor al, al
jmp 0x45ae00
push edi
add esi, 1
call fcn.00480989
add esp, 4
test eax, eax
je 0x45a950
jmp 0x45a99c
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x64]
call fcn.00406a80
mov byte [esp + 0x8b0], 3
mov eax, dword [esp + 0x68]
mov ebx, 0x10
cmp dword [esp + 0x7c], ebx
jae 0x45aac8
lea eax, [esp + 0x68]
lea ecx, [esp + 0x3c]
push ecx
push str._lld
push eax
call fcn.00480a20
add esp, 0xc
cmp dword [esp + 0x78], 1
jbe 0x45ad9e
mov edi, dword [esp + 0x4c]
mov edx, dword [edi + 4]
test edx, edx
jne 0x45aaf5
xor ecx, ecx
jmp 0x45aafd
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 3
test edx, edx
je 0x45ab25
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 3
cmp ecx, eax
jae 0x45ab25
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x3c]
mov dword [eax], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
add eax, 8
mov dword [edi + 8], eax
jmp 0x45ab44
mov esi, dword [edi + 8]
cmp edx, esi
jbe 0x45ab31
call fcn.0047f320
push esi
push edi
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x68]
push eax
mov eax, edi
call fcn.0045f920
mov edx, dword [esp + 0x7c]
cmp edx, ebx
mov ecx, dword [esp + 0x68]
mov eax, ecx
jae 0x45ab56
lea eax, [esp + 0x68]
mov ebx, dword [esp + 0x78]
lea edi, [eax + ebx]
test edi, edi
je 0x45ab81
cmp edx, 0x10
mov eax, ecx
jae 0x45ab6c
lea eax, [esp + 0x68]
cmp eax, edi
ja 0x45ab81
cmp edx, 0x10
mov eax, ecx
jae 0x45ab7b
lea eax, [esp + 0x68]
add eax, ebx
cmp edi, eax
jbe 0x45ab92
call fcn.0047f320
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
cmp edx, 0x10
jb 0x45acd0
test ecx, ecx
mov esi, ecx
je 0x45abc1
cmp edx, 0x10
mov eax, ecx
jae 0x45abac
lea eax, [esp + 0x68]
cmp eax, esi
ja 0x45abc1
cmp edx, 0x10
mov eax, ecx
jae 0x45abbb
lea eax, [esp + 0x68]
add eax, ebx
cmp esi, eax
jbe 0x45abca
call fcn.0047f320
mov edx, dword [esp + 0x7c]
cmp esi, edi
lea eax, [esp + 0x64]
mov ecx, eax
mov ebx, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ebx
je 0x45abf2
cmp byte [ebx], 9
je 0x45abee
add ebx, 1
cmp ebx, edi
jne 0x45abe2
mov dword [esp + 0x10], ebx
cmp edx, 0x10
mov edi, dword [esp + 0x68]
mov eax, edi
jae 0x45ac01
lea eax, [esp + 0x68]
mov esi, dword [esp + 0x78]
add esi, eax
je 0x45ac2d
cmp edx, 0x10
mov eax, edi
jae 0x45ac14
lea eax, [esp + 0x68]
cmp eax, esi
ja 0x45ac2d
cmp edx, 0x10
mov eax, edi
jae 0x45ac23
lea eax, [esp + 0x68]
mov edi, dword [esp + 0x78]
add eax, edi
cmp esi, eax
jbe 0x45ac3a
call fcn.0047f320
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
cmp ecx, 0xfffffffe
je 0x45ac54
test ecx, ecx
je 0x45ac4b
lea eax, [esp + 0x64]
cmp ecx, eax
je 0x45ac54
call fcn.0047f320
mov edx, dword [esp + 0x7c]
cmp ebx, esi
je 0x45ad7b
cmp edx, 0x10
mov ecx, dword [esp + 0x68]
mov eax, ecx
jae 0x45ac6b
lea eax, [esp + 0x68]
mov edi, dword [esp + 0x78]
lea esi, [eax + edi]
test esi, esi
je 0x45ac96
cmp edx, 0x10
mov eax, ecx
jae 0x45ac81
lea eax, [esp + 0x68]
cmp eax, esi
ja 0x45ac96
cmp edx, 0x10
mov eax, ecx
jae 0x45ac90
lea eax, [esp + 0x68]
add eax, edi
cmp esi, eax
jbe 0x45ac9b
call fcn.0047f320
mov eax, dword [esp + 0x18]
cmp eax, 0xfffffffe
lea edi, [esp + 0x64]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
je 0x45ad01
test eax, eax
jne 0x45acbd
call fcn.0047f320
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x18]
add eax, 4
cmp ecx, 0x10
mov dword [esp + 0x48], ecx
jb 0x45acd9
mov ecx, dword [eax]
jmp 0x45acdb
lea esi, [esp + 0x68]
jmp 0x45aba1
mov ecx, eax
lea edx, [ebx + 1]
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx + 0x14]
add ebx, ecx
cmp edx, ebx
ja 0x45acf8
cmp dword [esp + 0x48], 0x10
jb 0x45acf4
mov eax, dword [eax]
cmp edx, eax
jae 0x45acfd
call fcn.0047f320
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
push esi
push edi
lea eax, [ebx + 1]
push eax
push ecx
push edx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.004605a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x8b0], 4
mov esi, dword [esp + 0x14]
push ecx
call fcn.0045f420
mov byte [esp + 0x8b0], 3
cmp dword [esp + 0x38], 0x10
jb 0x45ad62
mov edx, dword [esp + 0x24]
push edx
call fcn.00470055
add esp, 4
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
cmp edx, 0x10
mov byte [esp + 0x8b0], 0
jb 0x45aaa0
mov eax, dword [esp + 0x68]
push eax
call fcn.00470055
add esp, 4
jmp 0x45aaa0
mov byte [esp + 0x8b0], 0
cmp dword [esp + 0x7c], ebx
jb 0x45adb9
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00470055
add esp, 4
push edi
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
call fcn.00480c6a
add esp, 4
mov dword [esp + 0x8b0], 0xffffffff
cmp dword [esp + 0x98], ebx
jb 0x45adfe
mov edx, dword [esp + 0x84]
push edx
call fcn.00470055
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x8a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x890]
xor ecx, esp
call fcn.0047ec3c
mov esp, ebp
pop ebp
ret