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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff48
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov esi, 1
mov eax, dword [ebx + 8]
cmp byte [eax + 0x2bd], 0
jne 0x5d887b
mov edi, dword [ebx + 0x74]
test edi, edi
je 0x5d8b89
mov edx, esp
lea eax, [edi + 8]
call fcn.0040f908
test al, al
je 0x5d8b89
mov esi, 5
jmp 0x5d8b89
lea edx, [esp + 8]
mov eax, ebx
call fcn.005d8534
push esi
lea esi, [ebx + 0x28]
lea edi, [esp + 0x9c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [esp + 8]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xc], eax
mov edi, dword [ebx + 0x74]
test edi, edi
je 0x5d88c4
mov edx, esp
lea eax, [edi + 8]
call fcn.0040f908
test al, al
je 0x5d88c4
mov esi, 5
jmp 0x5d8b89
mov edx, esp
lea eax, [esp + 0x98]
call fcn.0040f908
test al, al
je 0x5d88e0
mov esi, 2
jmp 0x5d8b89
mov edx, esp
lea eax, [ebx + 0x40]
call fcn.0040f908
test al, al
je 0x5d88f8
mov esi, 0x14
jmp 0x5d8b89
mov edx, esp
lea eax, [ebx + 0x78]
call fcn.0040f908
test al, al
je 0x5d8910
mov esi, 9
jmp 0x5d8b89
mov edx, esp
lea eax, [ebx + 0xa0]
call fcn.0040f908
test al, al
je 0x5d892b
mov esi, 8
jmp 0x5d8b89
mov edx, esp
lea eax, [ebx + 0x5c]
call fcn.0040f908
test al, al
je 0x5d8943
mov esi, 0x15
jmp 0x5d8b89
mov edx, esp
lea eax, [ebx + 0xcc]
call fcn.0040f908
test al, al
je 0x5d895e
mov esi, 3
jmp 0x5d8b89
mov edi, dword [ebx + 8]
movzx eax, byte [edi + 0x2be]
cmp al, 2
jne 0x5d8970
mov al, 1
jmp 0x5d8975
cmp al, 1
sete al
test al, al
jne 0x5d8b89
movzx edx, byte [edi + 0x2bd]
cmp dl, 3
jne 0x5d898d
mov al, 1
jmp 0x5d8993
cmp dl, 1
sete al
test al, al
je 0x5d899b
mov al, 1
jmp 0x5d89a1
cmp dl, 4
sete al
test al, al
je 0x5d89f2
mov eax, dword [ebx + 0x58]
sub eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0xac]
push eax
mov ecx, dword [ebx + 0xe0]
sub ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
call fcn.0040fdc8
lea eax, [esp + 0xa8]
mov edx, esp
call fcn.0040f908
test al, al
je 0x5d89e8
mov esi, 1
jmp 0x5d8b89
mov esi, 0x12
jmp 0x5d8b89
mov edi, dword [esp + 0xc]
push edi
lea eax, [esp + 0x1c]
push eax
mov ebp, dword [esp + 0x10]
mov ecx, ebp
xor edx, edx
xor eax, eax
call fcn.0040fdc8
push edi
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebx + 0xe0]
sub eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0xe0]
xor edx, edx
call fcn.0040fdc8
mov eax, dword [ebx + 0x58]
push eax
lea eax, [esp + 0x3c]
push eax
mov edx, dword [ebx + 0x58]
sub edx, dword [esp + 0x1c]
mov ecx, ebp
xor eax, eax
call fcn.0040fdc8
mov eax, dword [ebx + 0x58]
push eax
lea eax, [esp + 0x4c]
push eax
mov edx, dword [ebx + 0x58]
sub edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xe0]
sub eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0xe0]
call fcn.0040fdc8
push edi
lea eax, [esp + 0x5c]
push eax
mov ecx, dword [esp + 0x30]
xor edx, edx
mov eax, dword [esp + 0x28]
call fcn.0040fdc8
mov eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
mov edx, dword [esp + 0x2c]
xor eax, eax
call fcn.0040fdc8
mov eax, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x7c]
push eax
mov edi, dword [ebx + 0xe0]
mov eax, edi
sub eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x3c]
call fcn.0040fdc8
mov edi, dword [ebx + 0x58]
push edi
lea eax, [esp + 0x8c]
push eax
mov edx, edi
sub edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
call fcn.0040fdc8
mov edx, esp
lea eax, [esp + 0x18]
call fcn.0040f908
test al, al
je 0x5d8aeb
mov esi, 0xd
jmp 0x5d8b89
mov edx, esp
lea eax, [esp + 0x28]
call fcn.0040f908
test al, al
je 0x5d8b04
mov esi, 0xe
jmp 0x5d8b89
mov edx, esp
lea eax, [esp + 0x38]
call fcn.0040f908
test al, al
je 0x5d8b1a
mov esi, 0x10
jmp 0x5d8b89
mov edx, esp
lea eax, [esp + 0x48]
call fcn.0040f908
test al, al
je 0x5d8b30
mov esi, 0x11
jmp 0x5d8b89
mov edx, esp
lea eax, [esp + 0x68]
call fcn.0040f908
test al, al
je 0x5d8b46
mov esi, 0xa
jmp 0x5d8b89
mov edx, esp
lea eax, [esp + 0x78]
call fcn.0040f908
test al, al
je 0x5d8b5c
mov esi, 0xb
jmp 0x5d8b89
mov edx, esp
lea eax, [esp + 0x88]
call fcn.0040f908
test al, al
je 0x5d8b75
mov esi, 0xf
jmp 0x5d8b89
mov edx, esp
lea eax, [esp + 0x58]
call fcn.0040f908
test al, al
je 0x5d8b89
mov esi, 0xc
mov eax, esi
add esp, 0xb8
pop ebp
pop edi
pop esi
pop ebx
ret