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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov edi, edx
mov ebp, eax
xor ebx, ebx
test edi, edi
je 0x4dd9a3
mov eax, dword [ebp]
cmp eax, 0x210
jg 0x4dcd26
je 0x4dcf57
cmp eax, 8
jg 0x4dcd08
je 0x4dd122
sub eax, 3
je 0x4dd93a
sub eax, 2
je 0x4dd760
sub eax, 2
je 0x4dcf98
jmp 0x4dd9a3
sub eax, 0x1d
je 0x4dd2bd
sub eax, 0x5e
je 0x4dcdcc
sub eax, 0xad
je 0x4dcd7a
jmp 0x4dd9a3
cmp eax, 0xb013
jg 0x4dcd51
je 0x4dd2fd
sub eax, 0xa100
je 0x4dcd6a
sub eax, 0xf0b
je 0x4dce16
dec eax
je 0x4dd2bd
jmp 0x4dd9a3
sub eax, 0xb014
je 0x4dd58e
sub eax, 5
je 0x4dcf36
jmp 0x4dd9a3
mov eax, ebp
mov edx, edi
call fcn.004dc22c
mov ebx, eax
jmp 0x4dd9a3
xor edx, edx
mov eax, edi
call fcn.004dc188
test al, al
je 0x4dcd8e
mov bl, 1
jmp 0x4dd9a3
call fcn.0042dce8
test al, al
je 0x4dd9a3
mov eax, dword [edi + 0x44]
mov edx, dword [0x43f2c4]
call fcn.00403a7c
test al, al
je 0x4dd9a3
push 0
push 0
mov eax, dword [edi + 0x44]
call fcn.00449d20
push eax
mov eax, dword [0x52501c]
mov eax, dword [eax]
call eax
jmp 0x4dd9a3
mov eax, dword [edi + 0x44]
test eax, eax
je 0x4dd9a3
cmp dword [eax + 0x7c], 0
je 0x4dd9a3
mov eax, edi
call fcn.004db6b8
test eax, eax
je 0x4dd9a3
mov eax, edi
call fcn.004db6b8
mov al, byte [eax + 0x3c]
push eax
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x44]
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x7c]
pop ecx
call fcn.004d7d7c
jmp 0x4dd9a3
mov eax, edi
call fcn.004db6b8
test eax, eax
je 0x4dd9a3
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0xc4]
cmp byte [eax + 0xd], 1
jne 0x4dd9a3
cmp dword [edi + 0x44], 0
je 0x4dd9a3
mov eax, dword [edi + 0x44]
test byte [eax + 0x1c], 8
jne 0x4dd9a3
cmp dword [edi + 0x4c], 0
je 0x4dd9a3
cmp dword [ebp + 4], 0
jne 0x4dcf26
xor edx, edx
mov eax, dword [edi + 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, dword [edi + 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov esi, dword [edi + 0x44]
mov eax, esi
mov edx, dword [0x43f2c4]
call fcn.00403a7c
test al, al
je 0x4dcf2a
mov eax, esi
mov edx, dword [0x43f2c4]
call fcn.00403aa0
mov ebp, eax
mov eax, ebp
call fcn.00446a50
dec eax
test eax, eax
jl 0x4dcf2a
inc eax
mov dword [esp + 4], eax
xor esi, esi
mov edx, esi
mov eax, ebp
call fcn.00446a14
mov edx, dword [0x43f2c4]
call fcn.00403a7c
test al, al
je 0x4dcefb
mov edx, esi
mov eax, ebp
call fcn.00446a14
call fcn.0044a024
test al, al
je 0x4dcefb
mov edx, esi
mov eax, ebp
call fcn.00446a14
call fcn.00449d20
xor ecx, ecx
mov edx, 0x21
call fcn.004d2ab0
jmp 0x4dcf1d
push 0
mov dx, 0x21
xor eax, eax
call fcn.00407990
push eax
mov edx, esi
mov eax, ebp
call fcn.00446a14
mov edx, 0xa100
pop ecx
call fcn.004446d8
inc esi
dec dword [esp + 4]
jne 0x4dceb5
jmp 0x4dcf2a
mov byte [edi + 0x28], 0
mov byte [edi + 0x80], 1
jmp 0x4dd9a3
mov eax, dword [edi + 0x44]
test eax, eax
je 0x4dd9a3
cmp byte [eax + 0x57], 0
je 0x4dd9a3
mov eax, edi
call fcn.004db85c
jmp 0x4dd9a3
mov esi, dword [edi + 0x44]
mov eax, esi
mov edx, dword [0x43f2c4]
call fcn.00403a7c
test al, al
je 0x4dd9a3
mov eax, dword [ebp + 4]
and eax, 0xffff
dec eax
sub eax, 2
jae 0x4dd9a3
cmp word [ebp + 4], 1
jne 0x4dd9a3
mov eax, esi
call fcn.004cde54
jmp 0x4dd9a3
mov eax, dword [edi + 0x44]
mov edx, dword [0x43f2c4]
call fcn.00403a7c
test al, al
je 0x4dd9a3
xor edx, edx
mov eax, edi
call fcn.004dc188
test al, al
je 0x4dd9a3
mov eax, dword [edi + 0x44]
mov si, 0xffb8
call fcn.00403aec
test al, al
je 0x4dd9a3
mov eax, dword [edi + 0x44]
cmp byte [eax + 0x1a4], 0
je 0x4dd9a3
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x40], 0x64
jne 0x4dd017
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x78], 0x64
je 0x4dd9a3
mov byte [edi + 0x80], 1
mov byte [edi + 0x54], 1
mov eax, dword [edi + 0x50]
cmp eax, 0xff
ja 0x4dd033
bt dword [0x521074], eax
jae 0x4dd9a3
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 8], 1
jle 0x4dd9a3
mov byte [edi + 0x80], 1
mov byte [esp], 0
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0x44]
mov edx, dword [edi + 0x44]
cmp eax, dword [edx + 0x70]
je 0x4dd0a4
cmp byte [edi + 0xd], 0
jne 0x4dd0a4
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0x44]
mov eax, dword [edi + 0x44]
call fcn.004436a0
mov byte [esp], 1
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0x48]
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x68]
cmp eax, dword [edx + 0x18]
je 0x4dd0ee
cmp byte [edi + 0xc], 0
jne 0x4dd0ee
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0x48]
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x68]
call fcn.00423558
mov byte [esp], 1
cmp byte [esp], 0
je 0x4dd106
push 0xffffffffffffffff
push 0
mov eax, dword [edi + 0x44]
call fcn.00449d20
push eax
call sub.user32.dll_InvalidateRect
push 0
push 0
push 0x85
mov eax, dword [edi + 0x44]
call fcn.00449d20
push eax
call sub.user32.dll_SendMessageA
jmp 0x4dd9a3
cmp dword [edi + 0x44], 0
je 0x4dd9a3
xor edx, edx
mov eax, edi
call fcn.004dc188
test al, al
je 0x4dd9a3
mov eax, dword [edi + 0x44]
mov edx, dword [0x43f2c4]
call fcn.00403a7c
test al, al
je 0x4dd9a3
mov eax, dword [edi + 0x44]
mov si, 0xffb8
call fcn.00403aec
test al, al
je 0x4dd9a3
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x40], 0x64
jne 0x4dd19b
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x78], 0x64
je 0x4dd9a3
mov byte [edi + 0x80], 1
mov byte [edi + 0x54], 0
mov byte [esp], 0
mov eax, dword [edi + 0x50]
cmp eax, 0xff
ja 0x4dd1bb
bt dword [0x521074], eax
jae 0x4dd25e
mov eax, edi
call fcn.004db348
test al, al
jne 0x4dd25e
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0xc]
mov edx, dword [edi + 0x44]
cmp eax, dword [edx + 0x70]
je 0x4dd214
cmp byte [edi + 0xd], 0
jne 0x4dd214
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0xc]
mov eax, dword [edi + 0x44]
call fcn.004436a0
mov byte [esp], 1
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0x10]
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x68]
cmp eax, dword [edx + 0x18]
je 0x4dd25e
cmp byte [edi + 0xc], 0
jne 0x4dd25e
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0x10]
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x68]
call fcn.00423558
mov byte [esp], 1
mov eax, dword [edi + 0x44]
cmp byte [eax + 0x57], 0
je 0x4dd9a3
mov eax, dword [edi + 0x50]
cmp eax, 0xff
ja 0x4dd27c
bt dword [0x521074], eax
jae 0x4dd9a3
mov byte [edi + 0x80], 1
cmp byte [esp], 0
je 0x4dd2a1
push 0xffffffffffffffff
push 0
mov eax, dword [edi + 0x44]
call fcn.00449d20
push eax
call sub.user32.dll_InvalidateRect
push 0
push 0
push 0x85
mov eax, dword [edi + 0x44]
call fcn.00449d20
push eax
call sub.user32.dll_SendMessageA
jmp 0x4dd9a3
mov byte [edi + 0x55], 0
mov byte [edi + 0x54], 0
mov esi, dword [edi + 0x44]
test esi, esi
je 0x4dd9a3
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4dd9a3
cmp dword [edi + 0x24], 0xffffffff
je 0x4dd9a3
lea eax, [edi + 0x24]
call fcn.0049bb04
mov dword [edi + 0x24], 0xffffffff
jmp 0x4dd9a3
mov eax, dword [edi + 0x44]
test byte [eax + 0x1c], 0x10
jne 0x4dd9a3
xor edx, edx
mov eax, edi
call fcn.004dc188
test al, al
je 0x4dd9a3
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0xc4]
mov edx, 1
call fcn.0050fa10
test al, al
jne 0x4dd9a3
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x40], 0x64
jne 0x4dd36e
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x78], 0x64
je 0x4dd9a3
mov esi, dword [edi + 0x44]
test esi, esi
je 0x4dd56e
mov eax, esi
mov edx, dword [0x43f2c4]
call fcn.00403a7c
test al, al
je 0x4dd56e
cmp dword [0x526fa0], 0
je 0x4dd56e
mov eax, esi
call fcn.00446a50
dec eax
test eax, eax
jl 0x4dd41a
inc eax
mov dword [esp + 4], eax
xor esi, esi
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.00446a14
mov edx, dword [0x5200a0]
call fcn.00403a7c
test al, al
je 0x4dd413
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.00446a14
cmp eax, dword [edi + 0x44]
je 0x4dd413
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.00446a14
cmp eax, dword [ebp + 8]
je 0x4dd413
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.00446a14
mov eax, dword [eax + 0x198]
cmp byte [eax + 0x55], 0
je 0x4dd413
push 0
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.00446a14
xor ecx, ecx
mov edx, 0xb014
call fcn.004446d8
inc esi
dec dword [esp + 4]
jne 0x4dd3ae
mov eax, dword [edi + 0x50]
cmp eax, 0xff
ja 0x4dd42b
bt dword [0x521034], eax
jb 0x4dd431
mov byte [edi + 0x55], 1
mov eax, dword [edi + 0x44]
call fcn.00449d20
mov edx, eax
mov eax, dword [0x526fa0]
call fcn.0050e294
mov eax, dword [edi + 0x50]
mov edx, eax
cmp edx, 0xff
ja 0x4dd459
bt dword [0x521054], edx
jb 0x4dd46e
add eax, 0xffffffa4
sub eax, 3
jb 0x4dd46e
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.004da54c
mov eax, dword [edi + 0x50]
cmp eax, 0xff
ja 0x4dd47f
bt dword [0x521074], eax
jae 0x4dd9a3
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 8], 1
jle 0x4dd9a3
mov byte [edi + 0x80], 1
mov byte [esp], 0
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0x44]
mov edx, dword [edi + 0x44]
cmp eax, dword [edx + 0x70]
je 0x4dd4f0
cmp byte [edi + 0xd], 0
jne 0x4dd4f0
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0x44]
mov eax, dword [edi + 0x44]
call fcn.004436a0
mov byte [esp], 1
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0x48]
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x68]
cmp eax, dword [edx + 0x18]
je 0x4dd53a
cmp byte [edi + 0xc], 0
jne 0x4dd53a
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0x48]
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x68]
call fcn.00423558
mov byte [esp], 1
cmp byte [esp], 0
je 0x4dd552
push 0xffffffffffffffff
push 0
mov eax, dword [edi + 0x44]
call fcn.00449d20
push eax
call sub.user32.dll_InvalidateRect
push 0
push 0
push 0x85
mov eax, dword [edi + 0x44]
call fcn.00449d20
push eax
call sub.user32.dll_SendMessageA
jmp 0x4dd9a3
mov eax, dword [edi + 0x50]
cmp eax, 0xff
ja 0x4dd57f
bt dword [0x521034], eax
jb 0x4dd9a3
mov byte [edi + 0x55], 1
jmp 0x4dd9a3
mov eax, dword [edi + 0x44]
test byte [eax + 0x1c], 0x10
jne 0x4dd9a3
xor edx, edx
mov eax, edi
call fcn.004dc188
test al, al
je 0x4dd9a3
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0xc4]
mov edx, 1
call fcn.0050fa10
test al, al
jne 0x4dd9a3
mov eax, dword [edi + 0x50]
cmp eax, 0xff
ja 0x4dd5dc
bt dword [0x521034], eax
jb 0x4dd5e2
mov byte [edi + 0x55], 0
mov eax, dword [edi + 0x50]
mov edx, eax
cmp edx, 0xff
ja 0x4dd5f6
bt dword [0x521054], edx
jb 0x4dd615
add eax, 0xffffffa4
sub eax, 3
jb 0x4dd615
cmp dword [edi + 0x24], 0xffffffff
je 0x4dd615
lea eax, [edi + 0x24]
call fcn.0049bb04
mov dword [edi + 0x24], 0xffffffff
mov byte [esp], 0
mov eax, dword [edi + 0x50]
cmp eax, 0xff
ja 0x4dd62a
bt dword [0x521074], eax
jae 0x4dd701
mov eax, edi
call fcn.004db348
test al, al
jne 0x4dd701
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x40], 0x64
jne 0x4dd673
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x78], 0x64
je 0x4dd701
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0xc]
mov edx, dword [edi + 0x44]
cmp eax, dword [edx + 0x70]
je 0x4dd6b7
cmp byte [edi + 0xd], 0
jne 0x4dd6b7
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0xc]
mov eax, dword [edi + 0x44]
call fcn.004436a0
mov byte [esp], 1
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov eax, dword [eax + edx*4 + 0x10]
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x68]
cmp eax, dword [edx + 0x18]
je 0x4dd701
cmp byte [edi + 0xc], 0
jne 0x4dd701
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
mov edx, dword [eax + edx*4 + 0x10]
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x68]
call fcn.00423558
mov byte [esp], 1
mov eax, dword [edi + 0x44]
cmp byte [eax + 0x57], 0
je 0x4dd9a3
mov eax, dword [edi + 0x50]
cmp eax, 0xff
ja 0x4dd71f
bt dword [0x521074], eax
jae 0x4dd9a3
mov byte [edi + 0x80], 1
cmp byte [esp], 0
je 0x4dd744
push 0xffffffffffffffff
push 0
mov eax, dword [edi + 0x44]
call fcn.00449d20
push eax
call sub.user32.dll_InvalidateRect
push 0
push 0
push 0x85
mov eax, dword [edi + 0x44]
call fcn.00449d20
push eax
call sub.user32.dll_SendMessageA
jmp 0x4dd9a3
xor edx, edx
mov eax, edi
call fcn.004dc188
test al, al
je 0x4dd9a3
mov byte [edi + 0x80], 1
mov eax, dword [edi + 0x14]
mov al, byte [eax + 8]
sub al, 1
jne 0x4dd789
mov eax, edi
call fcn.004dab90
mov esi, dword [edi + 0x44]
mov eax, esi
mov edx, dword [0x5200a0]
call fcn.00403a7c
test al, al
je 0x4dd872
xor edx, edx
mov eax, edi
call fcn.004dc188
test al, al
je 0x4dd923
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
call fcn.004059e4
cmp eax, dword [edi + 0x34]
jle 0x4dd923
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x24], 0
jle 0x4dd923
mov eax, dword [edi + 0x44]
call fcn.004bfaa0
test eax, eax
je 0x4dd923
mov eax, dword [edi + 0x44]
call fcn.004bfaa0
call fcn.00446a50
dec eax
test eax, eax
jl 0x4dd923
inc eax
mov dword [esp + 4], eax
xor esi, esi
mov eax, dword [edi + 0x44]
call fcn.004bfaa0
call fcn.00446a50
cmp esi, eax
jge 0x4dd866
mov eax, dword [edi + 0x44]
call fcn.004bfaa0
mov edx, esi
call fcn.00446a14
test byte [eax + 0x1c], 8
jne 0x4dd866
push 0
mov dx, 0x14
mov ax, 1
call fcn.00407990
push eax
mov eax, dword [edi + 0x44]
call fcn.004bfaa0
mov edx, esi
call fcn.00446a14
mov edx, 0xa100
pop ecx
call fcn.004446d8
inc esi
dec dword [esp + 4]
jne 0x4dd816
jmp 0x4dd923
mov eax, esi
mov edx, dword [0x43f2c4]
call fcn.00403a7c
test al, al
je 0x4dd923
xor edx, edx
mov eax, edi
call fcn.004dc188
test al, al
je 0x4dd923
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
call fcn.004059e4
cmp eax, dword [edi + 0x34]
jle 0x4dd923
mov eax, edi
call fcn.004db6b8
mov eax, dword [eax + 0x7894]
imul edx, dword [edi + 0x34], 0x4b
cmp dword [eax + edx*4 + 0x24], 0
jle 0x4dd923
mov eax, dword [edi + 0x44]
call fcn.00446a50
dec eax
test eax, eax
jl 0x4dd923
inc eax
mov dword [esp + 4], eax
xor esi, esi
mov eax, dword [edi + 0x44]
call fcn.00446a50
cmp esi, eax
jge 0x4dd91c
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.00446a14
test byte [eax + 0x1c], 8
jne 0x4dd91c
push 0
mov dx, 0x14
mov ax, 1
call fcn.00407990
push eax
mov edx, esi
mov eax, dword [edi + 0x44]
call fcn.00446a14
mov edx, 0xa100
pop ecx
call fcn.004446d8
inc esi
dec dword [esp + 4]
jne 0x4dd8db
cmp dword [edi + 0x24], 0xffffffff
je 0x4dd9a3
lea eax, [edi + 0x24]
call fcn.0049bb04
mov dword [edi + 0x24], 0xffffffff
jmp 0x4dd9a3
xor edx, edx
mov eax, edi
call fcn.004dc188
test al, al
je 0x4dd9a3
mov eax, dword [edi + 0x14]
mov al, byte [eax + 8]
sub al, 1
jne 0x4dd958
mov eax, edi
call fcn.004dab90
mov eax, edi
call fcn.004dbda0
test al, al
je 0x4dd98e
mov byte [edi + 0x80], 1
mov esi, dword [edi + 0x44]
test esi, esi
je 0x4dd98e
push 0
mov dx, 0x14
mov ax, 1
call fcn.00407990
mov ecx, eax
mov edx, 0xa100
mov eax, esi
call fcn.004446d8
cmp dword [edi + 0x24], 0xffffffff
je 0x4dd9a3
lea eax, [edi + 0x24]
call fcn.0049bb04
mov dword [edi + 0x24], 0xffffffff
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret