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

Disassembly:
push 0xffffffffffffffff
push 0x5809ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x5e8e38]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x98]
mov dword [esp + 0x84], 1
cmp edi, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], 0xffffffff
jne 0x4ddd2d
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0055aad3
jmp 0x4ddd6d
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call fcn.005571bd
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 2
call fcn.00559765
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 1
call fcn.0055962c
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00557190
mov ecx, esi
call fcn.00557223
mov esi, eax
push esi
mov dword [esp + 0x40], esi
mov edx, dword [esi]
call dword [edx + 0x10]
mov ebx, dword [esp + 0x94]
push 0xffffffffffffffff
push ebp
mov ecx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], 0x38
call fcn.0051ba80
mov ecx, dword [esp + 0x90]
call fcn.005595b7
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebp
jle 0x4de09c
mov eax, dword [esi]
lea ecx, [esp + 0x44]
push 0
push ecx
push ebp
push esi
call dword [eax + 0x18]
test edi, edi
je 0x4dddeb
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jl 0x4de087
cmp eax, dword [esp + 0x20]
jge 0x4de087
mov edx, dword [esp + 0x10]
xor ecx, ecx
xor ebp, ebp
mov eax, dword [edx - 8]
mov dword [esp + 0x94], ebp
test eax, eax
jle 0x4dde42
mov eax, dword [esp + 0x48]
test edi, edi
je 0x4dde13
sub eax, dword [esp + 0x18]
cmp ecx, eax
je 0x4dde3b
jmp 0x4dde17
cmp ecx, eax
je 0x4dde3b
mov al, byte [edx + ebp]
cmp al, 0xa1
jae 0x4dde25
cmp al, 0xd
je 0x4dde25
inc ecx
jmp 0x4dde33
inc ecx
inc ebp
test edi, edi
je 0x4dde33
cmp byte [edx + ebp - 1], 0xd
jne 0x4dde33
dec ebp
mov eax, dword [edx - 8]
inc ebp
cmp ebp, eax
jl 0x4dde01
mov dword [esp + 0x94], ebp
mov eax, dword [esp + 0x1c]
mov ecx, ebp
sub ecx, eax
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.005548a2
mov ecx, dword [esp + 0x90]
push eax
mov byte [esp + 0x88], 3
call fcn.00559a44
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 1
call fcn.0055962c
mov eax, dword [esp + 0x78]
cmp eax, 0x63
jae 0x4ddea2
mov eax, dword [eax*4 + 0x5e0de4]
mov ecx, dword [esp + 0x90]
push eax
call fcn.00559a08
jmp 0x4de07e
mov ecx, dword [0x5e8e38]
mov dword [esp + 0x14], ecx
mov ecx, 4
lea edi, [esp + 0x4c]
mov esi, 0x5aab60
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
mov byte [esp + 0x84], 4
push eax
jne 0x4dded5
lea eax, [esp + 0x18]
push str.___08x_G
push eax
jmp 0x4ddedf
lea ecx, [esp + 0x18]
push str.___08x_B
push ecx
call fcn.00554dd4
mov ecx, dword [esp + 0x9c]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
call fcn.00559a44
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x78]
xor ecx, ecx
test eax, eax
jle 0x4ddf14
mov edx, dword [ebx + 4]
cmp dword [edx], esi
je 0x4ddf14
inc ecx
add edx, 4
cmp ecx, eax
jl 0x4ddf08
cmp ecx, eax
jl 0x4de062
mov dword [esp + 0x38], esi
mov esi, eax
xor edi, edi
mov dword [esp + 0x34], esi
lea ebp, [esi + 1]
cmp ebp, edi
jne 0x4ddf51
mov ecx, dword [ebx + 4]
cmp ecx, edi
je 0x4ddf46
push ecx
mov dword [esp + 0x38], eax
call fcn.00558a4c
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x4de051
mov edx, dword [ebx + 4]
cmp edx, edi
jne 0x4ddf8c
lea edi, [ebp*4]
push edi
call fcn.00558a23
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x4de051
mov edi, dword [ebx + 0xc]
cmp ebp, edi
jg 0x4ddfba
cmp eax, ebp
jge 0x4ddfaa
mov ecx, ebp
lea edi, [edx + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 8], ebp
jmp 0x4de051
jle 0x4ddfb2
sub eax, ebp
mov dword [esp + 0x34], eax
mov dword [ebx + 8], ebp
jmp 0x4de051
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x4ddfe5
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x4ddfd8
mov ecx, 4
jmp 0x4ddfe5
cmp ecx, 0x400
jle 0x4ddfe5
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
mov dword [esp + 0x1c], eax
jl 0x4ddff4
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
push ecx
call fcn.00558a23
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x34], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 8]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
push eax
call fcn.00558a4c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
add esp, 8
mov dword [ebx + 4], eax
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ecx
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x94]
mov dword [edx + esi*4], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 1
call fcn.0055962c
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x98]
inc ebp
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
inc ebp
cmp ebp, eax
mov dword [esp + 0x24], ebp
jl 0x4dddbf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx - 8]
jge 0x4de0e0
lea edx, [esp + 0x98]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.0055487f
mov ecx, dword [esp + 0x90]
push eax
mov byte [esp + 0x88], 5
call fcn.00559a44
lea ecx, [esp + 0x98]
mov byte [esp + 0x84], 1
call fcn.0055962c
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
push eax
mov ecx, esi
call fcn.005593a1
mov dword [esp + 0x40], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 0
call fcn.0055962c
mov ecx, dword [esp + 0x7c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 0x10