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

Disassembly:
push 0xffffffffffffffff
push 0x547e72
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x59b364]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59b364]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov eax, dword [esp + 0x270]
mov edi, dword [esp + 0x274]
mov ebp, dword [esp + 0x27c]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0x104
lea ecx, [esp + 0x16c]
push ecx
lea edx, [esp + 0xe8]
push edx
push eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
call fcn.0045c9a0
mov esi, eax
cmp esi, ebx
jne 0x45dae7
push 0x2000
call fcn.00513da7
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x45dae5
lea eax, [esp + 0x158]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x45d680
sub eax, edx
push eax
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x30]
call fcn.004029ca
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x140]
push edx
mov dword [esp + 0x270], ebx
call fcn.00464bd0
add esp, 8
cmp dword [esp + 0x40], 0x10
mov byte [esp + 0x268], 2
jb 0x45d6d3
mov eax, dword [esp + 0x2c]
push eax
call fcn.00511b06
add esp, 4
lea ecx, [esp + 0x7c]
push edi
push ecx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00464a90
lea edx, [esp + 0x160]
push edx
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x27c], 3
call fcn.004067db
push eax
lea ecx, [esp + 0x78]
push ecx
mov byte [esp + 0x284], 4
call fcn.00464ce0
push eax
lea edx, [esp + 0x140]
push edx
mov byte [esp + 0x28c], 5
call fcn.00464a90
add esp, 0x24
mov edi, 0x10
cmp dword [esp + 0x78], edi
jb 0x45d74d
mov eax, dword [esp + 0x64]
push eax
call fcn.00511b06
add esp, 4
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x5c], edi
jb 0x45d770
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00511b06
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0x268], 9
cmp dword [esp + 0x94], edi
jb 0x45d7a1
mov edx, dword [esp + 0x80]
push edx
call fcn.00511b06
add esp, 4
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0x150], ebx
jne 0x45d801
push ebx
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x30]
call fcn.0040984d
lea ecx, [esp + 0x28]
push ebx
push ecx
mov byte [esp + 0x270], 0xa
call fcn.004e7350
add esp, 8
lea ecx, [esp + 0x28]
mov byte [esp + 0x268], 9
call fcn.0041ed95
jmp 0x45da58
cmp dword [ebp + 0x14], ebx
jne 0x45d813
mov edi, dword [esp + 0x1c]
push ebx
push edi
call fcn.0045d4b0
jmp 0x45d82f
cmp dword [ebp + 0x18], edi
jb 0x45d81d
mov eax, dword [ebp + 4]
jmp 0x45d820
lea eax, [ebp + 4]
mov edx, dword [esp + 0x1c]
push eax
push edx
call fcn.0045d4b0
mov edi, dword [esp + 0x1c]
mov esi, eax
cmp esi, ebx
jne 0x45da53
push ebx
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x30]
call fcn.0040984d
lea ecx, [esp + 0x28]
push ebx
push ecx
mov byte [esp + 0x270], 0xb
call fcn.004e7350
add esp, 8
lea ecx, [esp + 0x28]
mov byte [esp + 0x268], 9
call fcn.0041ed95
cmp byte [esp + 0x278], bl
jne 0x45d8f8
lea edx, [esp + 0x13c]
push edx
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00409f6d
add esp, 0xc
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x268], 0xc
mov dword [esp + 0x20], 1
jb 0x45d8ba
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
jmp 0x45d8c1
add eax, 4
mov dword [esp + 0x1c], eax
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
call fcn.0045bad0
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x26c], 0xd
mov dword [esp + 0x24], 3
call fcn.0040c685
add esp, 4
mov byte [esp + 0x17], bl
test al, al
jne 0x45d8fd
mov byte [esp + 0x17], 1
test byte [esp + 0x20], 2
mov dword [esp + 0x268], 0xc
je 0x45d91d
and dword [esp + 0x20], 0xfffffffd
lea ecx, [esp + 0x28]
call fcn.0041ed95
test byte [esp + 0x20], 1
mov dword [esp + 0x268], 9
je 0x45d93b
lea ecx, [esp + 0x98]
call fcn.0040214b
cmp byte [esp + 0x17], bl
je 0x45da3a
lea edx, [esp + 0x13c]
push edx
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00409f6d
add esp, 0xc
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x268], 0xe
jb 0x45d978
mov eax, dword [eax + 4]
jmp 0x45d97b
add eax, 4
push 0x556620
push eax
call fcn.00515310
add esp, 8
lea ecx, [esp + 0x98]
mov ebp, eax
mov byte [esp + 0x268], 9
call fcn.0040214b
cmp ebp, ebx
je 0x45da3e
jmp 0x45d9b0
mov edx, dword [esp + 0x24]
push 0x2000
push edx
push edi
call fcn.0045cca0
mov esi, eax
cmp esi, ebx
jle 0x45d9df
mov eax, dword [esp + 0x24]
push ebp
push 1
push esi
push eax
call fcn.005147be
add esp, 0x10
cmp eax, 1
je 0x45d9b0
or esi, 0xffffffff
push ebp
call fcn.00514a79
add esp, 4
mov dword [esp + 0x18], ebx
cmp esi, ebx
jne 0x45da4d
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x124]
push edx
lea eax, [esp + 0xbc]
push eax
call fcn.00409f6d
mov ecx, dword [esp + 0xec]
push ecx
push eax
mov byte [esp + 0x27c], 0xf
call fcn.00466290
add esp, 0x14
lea ecx, [esp + 0xb4]
mov byte [esp + 0x268], 9
call fcn.0040214b
mov ebp, dword [esp + 0x18]
push edi
call fcn.0045cf00
mov esi, eax
mov edi, 0x10
jmp 0x45da5c
push edi
call fcn.0045cf00
mov edi, 0x10
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x138], edi
jb 0x45da75
mov edx, dword [esp + 0x124]
push edx
call fcn.00511b06
add esp, 4
mov dword [esp + 0x138], 0xf
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
mov dword [esp + 0x268], 0xffffffff
cmp dword [esp + 0x154], edi
jb 0x45dab2
mov eax, dword [esp + 0x140]
push eax
call fcn.00511b06
add esp, 4
mov dword [esp + 0x154], 0xf
mov dword [esp + 0x150], ebx
mov byte [esp + 0x140], bl
cmp ebp, ebx
je 0x45dad8
push ebp
call fcn.00514a79
add esp, 4
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00513cca
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.005139d8
add esp, 0x258
ret