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

Disassembly:
push 0xffffffffffffffff
push 0x7bd3f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x18], ebp
mov ecx, dword [ebp + 0xec]
test ecx, ecx
je 0x4ddd9c
mov edx, dword [ebp + 0x40c]
mov eax, dword [ecx]
inc edx
push edx
call dword [eax + 0xa0]
mov eax, dword [ebp + 0x3d0]
test eax, eax
jbe 0x4dddb2
mov dword [ebp + 0x418], 0
jmp 0x4dddbc
mov dword [ebp + 0x418], 0xffffffff
mov bl, byte [esp + 0x13]
lea esi, [ebp + 0xf0]
mov dword [esp + 0x14], 0x45
cmp dword [esi], 0
je 0x4dde33
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], bl
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x870c08
lea ecx, [esp + 0x30]
call fcn.00404eb0
mov ecx, dword [esi]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x7c], 0
mov eax, dword [ecx]
call dword [eax + 0x9c]
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00404e60
mov ecx, dword [esi]
push 0xffffffffffffffff
call fcn.004de010
mov eax, dword [esp + 0x14]
add esi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x4dddce
mov eax, dword [ebp + 0x3cc]
mov dword [esp + 0x1c], 0
mov esi, dword [eax]
mov dword [esp + 0x14], esi
jmp 0x4dde5f
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp esi, dword [ebp + 0x3cc]
je 0x4ddff3
mov al, byte [esi + 8]
add esi, 8
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], al
call fcn.00404e60
mov ecx, dword [0x7e565c]
push ecx
push 0
push esi
lea ecx, [esp + 0x44]
call fcn.00404c60
lea edx, [esi + 0x10]
lea ecx, [esp + 0x48]
push edx
mov dword [esp + 0x7c], 1
call fcn.004267d0
lea eax, [esi + 0x20]
lea ecx, [esp + 0x58]
push eax
mov byte [esp + 0x7c], 2
call fcn.004267d0
mov ecx, dword [esi + 0x30]
mov byte [esp + 0x78], 3
mov dword [esp + 0x68], ecx
mov dx, word [esi + 0x34]
mov word [esp + 0x6c], dx
mov ax, word [esi + 0x36]
mov word [esp + 0x6e], ax
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], 4
call fcn.004df9d0
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x30], esp
push 0
mov esi, eax
mov byte [ebp], cl
mov ecx, ebp
call fcn.00404e60
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00401b40
test al, al
je 0x4ddf3b
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00405070
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x23]
push eax
mov byte [esp + 0x8c], 5
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x48], esp
push ecx
lea ecx, [esp + 0x60]
call fcn.004df9d0
push eax
mov ecx, esi
call fcn.004c84c0
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push esi
mov byte [esp + 0xa0], 4
call fcn.004df7c0
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x7c], 8
call fcn.00404e60
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 7
call fcn.00404e60
mov eax, dword [esp + 0x3c]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x78], 0xffffffff
je 0x4ddfd9
mov cl, byte [eax - 1]
test cl, cl
je 0x4ddfcf
cmp cl, 0xff
je 0x4ddfcf
dec cl
mov byte [eax - 1], cl
jmp 0x4ddfd9
dec eax
push eax
call fcn.007a02e0
add esp, 4
inc esi
mov dword [esp + 0x3c], edi
cmp esi, 0x17
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], esi
jl 0x4dde57
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret