Function at 0x45b300
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
sub esp, 0xbc
mov eax, dword [0x4772e0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
xorps xmm0, xmm0
xor ebx, ebx
mov ebp, ecx
movq qword [esp + 0x44], xmm0
mov edx, 0x16
push edi
xor esi, esi
mov dword [esp + 0x20], ebp
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], 0
mov word [esp + 0x5c], 0
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], 0x909f1ef
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
xor edi, edi
nop
test edi, edi
js 0x45b40c
cmp edi, dword [0x47bf58]
jge 0x45b40c
mov eax, dword [0x47bf54]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x45b408
cmp byte [ebx], 0x46
jne 0x45b3fe
lea ecx, [ebx + 2]
lea edx, [esp + 0x1c]
call fcn.0045c770
mov ecx, eax
cmp ecx, dword [esp + 0x14]
je 0x45b3ca
cmp dword [esp + 0x10], 0
je 0x45b3c6
inc word [esp + 0x52]
lea edx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x45b3b0
mov eax, dword [esp + 0x48]
sub esi, edx
add eax, 5
add eax, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
movsx eax, byte [esi]
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
je 0x45b3f4
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
jne 0x45b3e2
mov edx, dword [esp + 0x48]
inc edi
jmp 0x45b360
mov ebx, dword [esp + 0x10]
inc edi
jmp 0x45b360
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x45b42a
inc word [esp + 0x52]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45b418
sub esi, ecx
add edx, 5
add edx, esi
mov dword [esp + 0x48], edx
mov si, word [esp + 0x54]
xor ecx, ecx
test ecx, ecx
js 0x45b45f
cmp ecx, dword [0x47bf58]
jge 0x45b45f
mov eax, dword [0x47bf54]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x45b45f
cmp byte [eax], 0x4c
jne 0x45b45c
inc si
add edx, 8
mov word [esp + 0x54], si
mov dword [esp + 0x48], edx
inc ecx
jmp 0x45b431
xor edi, edi
test edi, edi
js 0x45b51f
cmp edi, dword [0x47bf58]
jge 0x45b51f
mov eax, dword [0x47bf54]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x45b51f
cmp byte [eax], 0x53
jne 0x45b519
inc word [esp + 0x56]
add eax, 2
push 0x3a
push eax
call fcn.00409900
lea esi, [eax + 1]
movsx eax, byte [esi]
push eax
call fcn.0040aba5
add esp, 0xc
test eax, eax
je 0x45b4c3
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
jne 0x45b4b1
push 0x20
push esi
mov dword [esp + 0x24], esi
call fcn.00409900
mov ecx, dword [esp + 0x50]
sub eax, esi
add ecx, 0x13
add eax, ecx
push 0x5b
push esi
mov dword [esp + 0x58], eax
call fcn.00409900
add esp, 0x10
test eax, eax
je 0x45b515
inc eax
push 0x3a
push eax
call fcn.00409900
add esp, 8
test eax, eax
je 0x45b515
lea ecx, [ecx]
add dword [esp + 0x48], 6
inc eax
push 0x3a
push eax
call fcn.00409900
add esp, 8
test eax, eax
jne 0x45b500
mov edx, dword [esp + 0x48]
inc edi
jmp 0x45b461
mov esi, dword [0x47d284]
test esi, esi
je 0x45b558
mov di, word [esp + 0x58]
mov edi, edi
lea ecx, [esi + 4]
inc di
mov word [esp + 0x58], di
lea ebx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45b540
sub ecx, ebx
add edx, 3
add edx, ecx
mov dword [esp + 0x48], edx
mov esi, dword [esi]
test esi, esi
jne 0x45b530
mov esi, dword [0x47c064]
test esi, esi
je 0x45b598
mov di, word [esp + 0x5a]
jmp 0x45b570
lea ecx, [esi + 4]
inc di
mov word [esp + 0x5a], di
lea ebx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45b580
sub ecx, ebx
add edx, 7
add edx, ecx
mov dword [esp + 0x48], edx
mov esi, dword [esi]
test esi, esi
jne 0x45b570
mov esi, dword [0x47c018]
test esi, esi
je 0x45b5d8
mov di, word [esp + 0x5c]
jmp 0x45b5b0
lea ecx, [esi + 4]
inc di
mov word [esp + 0x5c], di
lea ebx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45b5c0
sub ecx, ebx
add edx, 5
add edx, ecx
mov dword [esp + 0x48], edx
mov esi, dword [esi]
test esi, esi
jne 0x45b5b0
push ebp
push 0x16
lea eax, [esp + 0x50]
push 1
push eax
call fcn.0040b344
xor ecx, ecx
add esp, 0x10
cmp eax, 0x16
sete cl
xor eax, eax
mov dword [esp + 0x14], 0
test ecx, ecx
sete al
xor esi, esi
xor edi, edi
or dword [0x47e900], eax
xor ebx, ebx
lea ecx, [ecx]
test ebx, ebx
js 0x45b6eb
cmp ebx, dword [0x47bf58]
jge 0x45b6eb
mov eax, dword [0x47bf54]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x45b6eb
cmp byte [ebp], 0x46
jne 0x45b6e5
lea ecx, [ebp + 2]
lea edx, [esp + 0x1c]
call fcn.0045c770
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
je 0x45b6bd
test esi, esi
je 0x45b6b9
push dword [esp + 0x20]
lea eax, [esp + 0x18]
push 4
push 1
push eax
call fcn.0040b344
xor ecx, ecx
add esp, 0x10
cmp eax, 4
sete cl
xor eax, eax
mov esi, edi
test ecx, ecx
sete al
lea ecx, [esi + 1]
or dword [0x47e900], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x45b687
push dword [esp + 0x20]
sub esi, ecx
inc esi
push esi
push 1
push edi
call fcn.0040b344
xor ecx, ecx
add esp, 0x10
cmp eax, esi
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47e900], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x1c]
mov esi, ebp
movsx eax, byte [edi]
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
je 0x45b6e5
movsx eax, byte [edi + 1]
inc edi
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
jne 0x45b6d3
inc ebx
jmp 0x45b610
mov ebp, dword [esp + 0x20]
test esi, esi
je 0x45b74b
push ebp
push 4
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0040b344
xor ecx, ecx
add esp, 0x10
cmp eax, 4
sete cl
xor eax, eax
mov esi, edi
test ecx, ecx
sete al
lea ecx, [esi + 1]
or dword [0x47e900], eax
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x45b720
sub esi, ecx
push ebp
inc esi
push esi
push 1
push edi
call fcn.0040b344
xor ecx, ecx
add esp, 0x10
cmp eax, esi
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47e900], eax
xor esi, esi
lea ecx, [ecx]
test esi, esi
js 0x45b766
cmp esi, dword [0x47bf58]
jge 0x45b766
mov eax, dword [0x47bf54]
mov ecx, dword [eax + esi*4]
jmp 0x45b768
xor ecx, ecx
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x45b7be
cmp byte [ecx], 0x4c
jne 0x45b7bb
add ecx, 2
lea edx, [esp + 0x10]
call fcn.0045c770
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x2c], eax
call fcn.0045c770
push ebp
push 8
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push 1
push eax
call fcn.0040b344
xor ecx, ecx
add esp, 0x10
cmp eax, 8
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47e900], eax
inc esi
jmp 0x45b750
xor ebx, ebx
test ebx, ebx
js 0x45b7d6
cmp ebx, dword [0x47bf58]
jge 0x45b7d6
mov eax, dword [0x47bf54]
mov ecx, dword [eax + ebx*4]
jmp 0x45b7d8
xor ecx, ecx
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x45ba4f
cmp byte [ecx], 0x53
jne 0x45ba49
add ecx, 2
lea edx, [esp + 0x10]
call fcn.0045c770
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
call fcn.0045c770
mov esi, dword [esp + 0x10]
mov word [esp + 0x38], ax
movsx eax, byte [esi]
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
je 0x45b832
nop
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
jne 0x45b820
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
je 0x45b856
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
jne 0x45b844
push 0x20
push esi
call fcn.00409900
mov edi, eax
mov edx, edi
sub edx, esi
add esp, 8
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x78]
inc edx
je 0x45b890
dec edx
je 0x45b888
mov al, byte [esi]
mov byte [ecx], al
inc ecx
inc esi
test al, al
je 0x45b884
dec edx
jne 0x45b875
jmp 0x45b888
test edx, edx
jne 0x45b899
mov byte [ecx], 0
jmp 0x45b890
mov al, byte [esi]
lea esi, [esi + 1]
test al, al
jne 0x45b890
lea edx, [esp + 0x10]
mov ecx, edi
call fcn.0045c770
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3a], eax
call fcn.0045c770
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3e], eax
call fcn.0045c770
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x42], al
call fcn.0045c770
mov esi, dword [esp + 0x10]
mov byte [esp + 0x43], al
xor eax, eax
mov word [esp + 0x44], ax
movsx eax, byte [esi]
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
je 0x45b902
lea ebx, [ebx]
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
jne 0x45b8f0
cmp byte [esi], 0x5b
jne 0x45b9b1
jmp 0x45b910
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
je 0x45b934
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
jne 0x45b922
cmp byte [esi], 0x5d
mov dword [esp + 0x10], esi
je 0x45b9b1
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.0045c770
movsx ecx, word [esp + 0x44]
mov esi, dword [esp + 0x10]
lea ecx, [ecx + ecx*2]
mov word [esp + ecx*2 + 0x60], ax
movsx eax, byte [esi]
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
je 0x45b982
lea esp, [esp]
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040aba5
add esp, 4
test eax, eax
jne 0x45b970
lea ecx, [esi + 1]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.0045c770
mov dx, word [esp + 0x44]
mov esi, dword [esp + 0x10]
movsx ecx, dx
inc dx
lea ecx, [ecx + ecx*2]
mov word [esp + 0x44], dx
mov dword [esp + ecx*2 + 0x62], eax
jmp 0x45b910
movsx edi, word [esp + 0x44]
push ebp
push 0x12
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.0040b344
xor ecx, ecx
add esp, 0x10
cmp eax, 0x12
sete cl
xor eax, eax
lea esi, [esp + 0x78]
test ecx, ecx
sete al
lea ecx, [esi + 1]
or dword [0x47e900], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x45b9e4
sub esi, ecx
push ebp
inc esi
push esi
lea eax, [esp + 0x80]
push 1
push eax
call fcn.0040b344
xor ecx, ecx
add esp, 0x10
cmp eax, esi
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47e900], eax
test edi, edi
jle 0x45ba49
lea esi, [esp + 0x60]
mov edi, edi
push ebp
push 6
push 1
push esi
call fcn.0040b344
xor ecx, ecx
add esp, 0x10
cmp eax, 6
sete cl
xor eax, eax
test ecx, ecx
sete al
add esi, 6
or dword [0x47e900], eax
dec edi
jne 0x45ba20
inc ebx
jmp 0x45b7c0
mov edi, dword [0x47d284]
test edi, edi
je 0x45bac8
lea esp, [esp]
movzx eax, word [edi + 0x24]
push ebp
push 2
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 1
push eax
call fcn.0040b344
xor ecx, ecx
add esp, 0x10
cmp eax, 2
sete cl
xor eax, eax
test ecx, ecx
sete al
lea ecx, [edi + 4]
mov esi, ecx
lea edx, [esi + 1]
or dword [0x47e900], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x45ba97
sub esi, edx
push ebp
inc esi
push esi
push 1
push ecx
call fcn.0040b344
mov edi, dword [edi]
xor ecx, ecx
add esp, 0x10
cmp eax, esi
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47e900], eax
test edi, edi
jne 0x45ba60
mov edi, dword [0x47c064]
test edi, edi
je 0x45bb77
jmp 0x45bae0
movzx eax, word [edi + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x24]
push ebp
push 2
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push 1
push eax
call fcn.0040b344
xor ecx, ecx
cmp eax, 2
sete cl
xor eax, eax
push ebp
push 4
push 1
test ecx, ecx
sete al
or dword [0x47e900], eax
lea eax, [esp + 0x40]
push eax
call fcn.0040b344
xor ecx, ecx
add esp, 0x20
cmp eax, 4
sete cl
xor eax, eax
test ecx, ecx
sete al
lea ecx, [edi + 4]
mov esi, ecx
lea edx, [esi + 1]
or dword [0x47e900], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x45bb42
sub esi, edx
push ebp
inc esi
push esi
push 1
push ecx
call fcn.0040b344
mov edi, dword [edi]
xor ecx, ecx
add esp, 0x10
cmp eax, esi
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47e900], eax
test edi, edi
jne 0x45bae0
mov edi, dword [0x47c018]
test edi, edi
je 0x45bc35
jmp 0x45bb90
movzx eax, word [edi + 0x24]
mov dword [esp + 0x18], eax
movzx eax, word [edi + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x24]
push ebp
push 2
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push 1
push eax
call fcn.0040b344
xor ecx, ecx
cmp eax, 2
sete cl
xor eax, eax
push ebp
push 2
push 1
test ecx, ecx
sete al
or dword [0x47e900], eax
lea eax, [esp + 0x44]
push eax
call fcn.0040b344
xor ecx, ecx
add esp, 0x20
cmp eax, 2
sete cl
xor eax, eax
test ecx, ecx
sete al
lea ecx, [edi + 4]
mov esi, ecx
lea edx, [esi + 1]
or dword [0x47e900], eax
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x45bc00
sub esi, edx
push ebp
inc esi
push esi
push 1
push ecx
call fcn.0040b344
mov edi, dword [edi]
xor ecx, ecx
add esp, 0x10
cmp eax, esi
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47e900], eax
test edi, edi
jne 0x45bb90
xor esi, esi
cmp dword [0x47bf5c], esi
jle 0x45bc59
nop
mov eax, dword [0x47bf50]
push dword [eax + esi*4]
call fcn.004086e2
inc esi
add esp, 4
cmp esi, dword [0x47bf5c]
jl 0x45bc40
push dword [0x47bf50]
call fcn.004086e2
mov ecx, dword [esp + 0xcc]
add esp, 4
xorps xmm0, xmm0
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
movq qword [0x47bf50], xmm0
movq qword [0x47bf58], xmm0
call fcn.004086d3
add esp, 0xbc
ret