Function at 0x445fc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x5ff004]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x70]
xor ebx, ebx
push 0x50
push ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.00504370
mov eax, dword [edi + 0x18]
add esp, 0xc
mov dword [esp + 0x24], eax
lea eax, [esp + 0xc]
push 4
push ebx
push ebx
push eax
mov eax, dword [edi]
push edi
call eax
add esp, 0x14
cmp eax, 4
jne 0x44711a
mov eax, dword [esp + 0xc]
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [esp + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xf]
shl ecx, 8
or ecx, eax
cmp ecx, 0x46534235
jne 0x44711a
mov edx, str.fsb_snd
mov ecx, edi
call fcn.0040b140
test eax, eax
je 0x44711a
push 4
push ebx
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi]
push edi
call eax
add esp, 0x14
cmp eax, 4
jne 0x44711a
movzx esi, byte [esp + 0xf]
movzx eax, byte [esp + 0xe]
shl esi, 8
or esi, eax
mov eax, dword [esp + 0xc]
shl esi, 8
movzx ecx, ah
or esi, ecx
movzx eax, al
shl esi, 8
or esi, eax
mov dword [esp + 0x74], esi
mov eax, esi
je 0x4460a9
cmp eax, 1
jne 0x44711a
push 4
push 0
push 8
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi]
push edi
call eax
add esp, 0x14
cmp eax, 4
je 0x4460c6
or edx, 0xffffffff
jmp 0x4460e9
movzx edx, byte [esp + 0xf]
movzx eax, byte [esp + 0xe]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0xc]
shl edx, 8
movzx ecx, ah
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
push 4
push 0
push 0xc
lea eax, [esp + 0x18]
mov dword [esp + 0x54], edx
push eax
mov eax, dword [edi]
push edi
mov dword [esp + 0x84], edx
call eax
add esp, 0x14
cmp eax, 4
je 0x446111
or edx, 0xffffffff
jmp 0x446134
movzx edx, byte [esp + 0xf]
movzx eax, byte [esp + 0xe]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0xc]
shl edx, 8
movzx ecx, ah
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
push 4
push 0
push 0x10
lea eax, [esp + 0x18]
mov dword [esp + 0x48], edx
push eax
mov eax, dword [edi]
push edi
mov dword [esp + 0xb0], edx
call eax
add esp, 0x14
cmp eax, 4
je 0x44615c
or edx, 0xffffffff
jmp 0x44617f
movzx edx, byte [esp + 0xf]
movzx eax, byte [esp + 0xe]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0xc]
shl edx, 8
movzx ecx, ah
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
push 4
push 0
push 0x14
lea eax, [esp + 0x18]
mov dword [esp + 0x50], edx
push eax
mov eax, dword [edi]
push edi
mov dword [esp + 0xb4], edx
call eax
add esp, 0x14
cmp eax, 4
je 0x4461a7
or edx, 0xffffffff
jmp 0x4461ca
movzx edx, byte [esp + 0xf]
movzx eax, byte [esp + 0xe]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0xc]
shl edx, 8
movzx ecx, ah
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
push 4
push 0
push 0x18
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], edx
push eax
mov eax, dword [edi]
push edi
mov dword [esp + 0xb8], edx
call eax
add esp, 0x14
cmp eax, 4
je 0x4461f2
or edx, 0xffffffff
jmp 0x446215
movzx edx, byte [esp + 0xf]
movzx eax, byte [esp + 0xe]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0xc]
shl edx, 8
movzx ecx, ah
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x78], edx
cmp esi, 1
jne 0x44628a
push 4
push 0
push 0x20
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi]
push edi
call eax
add esp, 0x14
cmp eax, 4
je 0x446252
or edx, 0xffffffff
mov dword [esp + 0xa8], 0x3c
mov dword [esp + 0x38], edx
mov dword [esp + 0x7c], edx
jmp 0x44629d
movzx edx, byte [esp + 0xf]
movzx eax, byte [esp + 0xe]
shl edx, 8
or edx, eax
mov dword [esp + 0xa8], 0x3c
mov eax, dword [esp + 0xc]
shl edx, 8
movzx ecx, ah
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x7c], edx
jmp 0x44629d
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xa8], 0x40
mov dword [esp + 0x38], eax
mov eax, dword [edi + 4]
push edi
call eax
mov ecx, dword [esp + 0x48]
add esp, 4
mov esi, dword [esp + 0x20]
add ecx, esi
add ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xa8]
add ecx, edx
cmp ecx, eax
je 0x4462ed
mov eax, dword [edi + 4]
push edi
call eax
add esp, 4
push eax
push dword [esp + 0xac]
push esi
push dword [esp + 0x50]
push dword [esp + 0x4c]
push str.FSB5:_wrong_size__expected__x___x___x___x_vs__x__re_rip__n
call fcn.0040b9e0
add esp, 0x18
jmp 0x44711a
cmp dword [esp + 0x24], ebx
jne 0x4462fb
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x24], eax
jg 0x44711a
test eax, eax
jle 0x44711a
mov eax, dword [esp + 0xb0]
mov esi, edx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0xac]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], eax
mov edi, edi
mov edx, edi
mov ecx, esi
call fcn.00445ef0
mov esi, eax
mov dword [esp + 0x4c], 8
mov eax, edx
mov ecx, esi
shr eax, 2
mov dword [esp + 0x54], eax
mov dword [esp + 0x8c], eax
mov eax, edx
shrd ecx, eax, 2
mov eax, edx
and ecx, 0xffffffe0
mov dword [esp + 0x1c], ecx
mov ecx, esi
shrd ecx, eax, 5
and ecx, 3
jmp dword [ecx*4 + 0x447150]
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x44712f
test eax, eax
je 0x44712f
push eax
mov eax, dword [eax + 0x14]
call eax
add esp, 4
mov ecx, ebx
call fcn.00405c10
mov ecx, dword [esp + 0x224]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00502eb4
mov esp, ebp
pop ebp
ret