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

Disassembly:
sub esp, 0xbc
mov eax, dword [0x4762d4]
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 0x45ad7c
cmp edi, dword [0x47af38]
jge 0x45ad7c
mov eax, dword [0x47af34]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x45ad78
cmp byte [ebx], 0x46
jne 0x45ad6e
lea ecx, [ebx + 2]
lea edx, [esp + 0x1c]
call fcn.0045c0e0
mov ecx, eax
cmp ecx, dword [esp + 0x14]
je 0x45ad3a
cmp dword [esp + 0x10], 0
je 0x45ad36
inc word [esp + 0x52]
lea edx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x45ad20
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.0040a7a5
add esp, 4
test eax, eax
je 0x45ad64
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040a7a5
add esp, 4
test eax, eax
jne 0x45ad52
mov edx, dword [esp + 0x48]
inc edi
jmp 0x45acd0
mov ebx, dword [esp + 0x10]
inc edi
jmp 0x45acd0
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x45ad9a
inc word [esp + 0x52]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45ad88
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 0x45adcf
cmp ecx, dword [0x47af38]
jge 0x45adcf
mov eax, dword [0x47af34]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x45adcf
cmp byte [eax], 0x4c
jne 0x45adcc
inc si
add edx, 8
mov word [esp + 0x54], si
mov dword [esp + 0x48], edx
inc ecx
jmp 0x45ada1
xor edi, edi
test edi, edi
js 0x45ae8f
cmp edi, dword [0x47af38]
jge 0x45ae8f
mov eax, dword [0x47af34]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x45ae8f
cmp byte [eax], 0x53
jne 0x45ae89
inc word [esp + 0x56]
add eax, 2
push 0x3a
push eax
call fcn.00409500
lea esi, [eax + 1]
movsx eax, byte [esi]
push eax
call fcn.0040a7a5
add esp, 0xc
test eax, eax
je 0x45ae33
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040a7a5
add esp, 4
test eax, eax
jne 0x45ae21
push 0x20
push esi
mov dword [esp + 0x24], esi
call fcn.00409500
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.00409500
add esp, 0x10
test eax, eax
je 0x45ae85
inc eax
push 0x3a
push eax
call fcn.00409500
add esp, 8
test eax, eax
je 0x45ae85
lea ecx, [ecx]
add dword [esp + 0x48], 6
inc eax
push 0x3a
push eax
call fcn.00409500
add esp, 8
test eax, eax
jne 0x45ae70
mov edx, dword [esp + 0x48]
inc edi
jmp 0x45add1
mov esi, dword [0x47c264]
test esi, esi
je 0x45aec8
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 0x45aeb0
sub ecx, ebx
add edx, 3
add edx, ecx
mov dword [esp + 0x48], edx
mov esi, dword [esi]
test esi, esi
jne 0x45aea0
mov esi, dword [0x47b044]
test esi, esi
je 0x45af08
mov di, word [esp + 0x5a]
jmp 0x45aee0
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 0x45aef0
sub ecx, ebx
add edx, 7
add edx, ecx
mov dword [esp + 0x48], edx
mov esi, dword [esi]
test esi, esi
jne 0x45aee0
mov esi, dword [0x47aff8]
test esi, esi
je 0x45af48
mov di, word [esp + 0x5c]
jmp 0x45af20
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 0x45af30
sub ecx, ebx
add edx, 5
add edx, ecx
mov dword [esp + 0x48], edx
mov esi, dword [esi]
test esi, esi
jne 0x45af20
push ebp
push 0x16
lea eax, [esp + 0x50]
push 1
push eax
call fcn.0040af44
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 [0x47d8e0], eax
xor ebx, ebx
lea ecx, [ecx]
test ebx, ebx
js 0x45b05b
cmp ebx, dword [0x47af38]
jge 0x45b05b
mov eax, dword [0x47af34]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x45b05b
cmp byte [ebp], 0x46
jne 0x45b055
lea ecx, [ebp + 2]
lea edx, [esp + 0x1c]
call fcn.0045c0e0
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
je 0x45b02d
test esi, esi
je 0x45b029
push dword [esp + 0x20]
lea eax, [esp + 0x18]
push 4
push 1
push eax
call fcn.0040af44
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 [0x47d8e0], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x45aff7
push dword [esp + 0x20]
sub esi, ecx
inc esi
push esi
push 1
push edi
call fcn.0040af44
xor ecx, ecx
add esp, 0x10
cmp eax, esi
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47d8e0], 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.0040a7a5
add esp, 4
test eax, eax
je 0x45b055
movsx eax, byte [edi + 1]
inc edi
push eax
call fcn.0040a7a5
add esp, 4
test eax, eax
jne 0x45b043
inc ebx
jmp 0x45af80
mov ebp, dword [esp + 0x20]
test esi, esi
je 0x45b0bb
push ebp
push 4
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0040af44
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 [0x47d8e0], eax
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x45b090
sub esi, ecx
push ebp
inc esi
push esi
push 1
push edi
call fcn.0040af44
xor ecx, ecx
add esp, 0x10
cmp eax, esi
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47d8e0], eax
xor esi, esi
lea ecx, [ecx]
test esi, esi
js 0x45b0d6
cmp esi, dword [0x47af38]
jge 0x45b0d6
mov eax, dword [0x47af34]
mov ecx, dword [eax + esi*4]
jmp 0x45b0d8
xor ecx, ecx
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x45b12e
cmp byte [ecx], 0x4c
jne 0x45b12b
add ecx, 2
lea edx, [esp + 0x10]
call fcn.0045c0e0
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x2c], eax
call fcn.0045c0e0
push ebp
push 8
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push 1
push eax
call fcn.0040af44
xor ecx, ecx
add esp, 0x10
cmp eax, 8
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47d8e0], eax
inc esi
jmp 0x45b0c0
xor ebx, ebx
test ebx, ebx
js 0x45b146
cmp ebx, dword [0x47af38]
jge 0x45b146
mov eax, dword [0x47af34]
mov ecx, dword [eax + ebx*4]
jmp 0x45b148
xor ecx, ecx
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x45b3bf
cmp byte [ecx], 0x53
jne 0x45b3b9
add ecx, 2
lea edx, [esp + 0x10]
call fcn.0045c0e0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
call fcn.0045c0e0
mov esi, dword [esp + 0x10]
mov word [esp + 0x38], ax
movsx eax, byte [esi]
push eax
call fcn.0040a7a5
add esp, 4
test eax, eax
je 0x45b1a2
nop
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040a7a5
add esp, 4
test eax, eax
jne 0x45b190
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040a7a5
add esp, 4
test eax, eax
je 0x45b1c6
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040a7a5
add esp, 4
test eax, eax
jne 0x45b1b4
push 0x20
push esi
call fcn.00409500
mov edi, eax
mov edx, edi
sub edx, esi
add esp, 8
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x78]
inc edx
je 0x45b200
dec edx
je 0x45b1f8
mov al, byte [esi]
mov byte [ecx], al
inc ecx
inc esi
test al, al
je 0x45b1f4
dec edx
jne 0x45b1e5
jmp 0x45b1f8
test edx, edx
jne 0x45b209
mov byte [ecx], 0
jmp 0x45b200
mov al, byte [esi]
lea esi, [esi + 1]
test al, al
jne 0x45b200
lea edx, [esp + 0x10]
mov ecx, edi
call fcn.0045c0e0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3a], eax
call fcn.0045c0e0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3e], eax
call fcn.0045c0e0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x42], al
call fcn.0045c0e0
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.0040a7a5
add esp, 4
test eax, eax
je 0x45b272
lea ebx, [ebx]
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040a7a5
add esp, 4
test eax, eax
jne 0x45b260
cmp byte [esi], 0x5b
jne 0x45b321
jmp 0x45b280
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040a7a5
add esp, 4
test eax, eax
je 0x45b2a4
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040a7a5
add esp, 4
test eax, eax
jne 0x45b292
cmp byte [esi], 0x5d
mov dword [esp + 0x10], esi
je 0x45b321
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.0045c0e0
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.0040a7a5
add esp, 4
test eax, eax
je 0x45b2f2
lea esp, [esp]
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.0040a7a5
add esp, 4
test eax, eax
jne 0x45b2e0
lea ecx, [esi + 1]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.0045c0e0
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 0x45b280
movsx edi, word [esp + 0x44]
push ebp
push 0x12
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.0040af44
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 [0x47d8e0], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x45b354
sub esi, ecx
push ebp
inc esi
push esi
lea eax, [esp + 0x80]
push 1
push eax
call fcn.0040af44
xor ecx, ecx
add esp, 0x10
cmp eax, esi
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47d8e0], eax
test edi, edi
jle 0x45b3b9
lea esi, [esp + 0x60]
mov edi, edi
push ebp
push 6
push 1
push esi
call fcn.0040af44
xor ecx, ecx
add esp, 0x10
cmp eax, 6
sete cl
xor eax, eax
test ecx, ecx
sete al
add esi, 6
or dword [0x47d8e0], eax
dec edi
jne 0x45b390
inc ebx
jmp 0x45b130
mov edi, dword [0x47c264]
test edi, edi
je 0x45b438
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.0040af44
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 [0x47d8e0], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x45b407
sub esi, edx
push ebp
inc esi
push esi
push 1
push ecx
call fcn.0040af44
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 [0x47d8e0], eax
test edi, edi
jne 0x45b3d0
mov edi, dword [0x47b044]
test edi, edi
je 0x45b4e7
jmp 0x45b450
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.0040af44
xor ecx, ecx
cmp eax, 2
sete cl
xor eax, eax
push ebp
push 4
push 1
test ecx, ecx
sete al
or dword [0x47d8e0], eax
lea eax, [esp + 0x40]
push eax
call fcn.0040af44
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 [0x47d8e0], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x45b4b2
sub esi, edx
push ebp
inc esi
push esi
push 1
push ecx
call fcn.0040af44
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 [0x47d8e0], eax
test edi, edi
jne 0x45b450
mov edi, dword [0x47aff8]
test edi, edi
je 0x45b5a5
jmp 0x45b500
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.0040af44
xor ecx, ecx
cmp eax, 2
sete cl
xor eax, eax
push ebp
push 2
push 1
test ecx, ecx
sete al
or dword [0x47d8e0], eax
lea eax, [esp + 0x44]
push eax
call fcn.0040af44
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 [0x47d8e0], eax
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x45b570
sub esi, edx
push ebp
inc esi
push esi
push 1
push ecx
call fcn.0040af44
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 [0x47d8e0], eax
test edi, edi
jne 0x45b500
xor esi, esi
cmp dword [0x47af3c], esi
jle 0x45b5c9
nop
mov eax, dword [0x47af30]
push dword [eax + esi*4]
call fcn.004082e2
inc esi
add esp, 4
cmp esi, dword [0x47af3c]
jl 0x45b5b0
push dword [0x47af30]
call fcn.004082e2
mov ecx, dword [esp + 0xcc]
add esp, 4
xorps xmm0, xmm0
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
movq qword [0x47af30], xmm0
movq qword [0x47af38], xmm0
call fcn.004082d3
add esp, 0xbc
ret