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

Disassembly:
sub esp, 0xd8
push ebx
push ebp
mov ebx, ecx
push esi
mov esi, dword [ebx + 0x13c]
test esi, esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x60], esi
je 0x4dd778
mov edi, dword [0x6b9430]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, edi
je 0x4dd768
mov dword [esp + 0x60], 0
jmp 0x4dd76f
mov ecx, esi
call fcn.00521660
call fcn.004a99d0
fstp qword [esp + 0x68]
mov al, byte [ebx + 0x22c]
test al, al
je 0x4dd78b
push 1
mov ecx, ebx
call fcn.004dff60
mov al, byte [ebx + 0x213]
test al, al
je 0x4dd79c
mov ecx, ebx
call fcn.004dbf70
mov al, byte [ebx + 0x20c]
mov cl, byte [esp + 0xfc]
or cl, al
mov eax, dword [ebx + 0x248]
test eax, eax
mov byte [esp + 0xfc], cl
jne 0x4dd7c4
mov byte [esp + 0xfc], 1
test byte [ebx + 0x212], 2
mov esi, dword [esp + 0xf4]
mov ebp, dword [esp + 0xec]
je 0x4dd829
mov eax, dword [esp + 0xfc]
mov edx, dword [ebx]
push eax
push esi
push ebp
mov ecx, ebx
call dword [edx + 0x18]
mov edi, eax
test edi, edi
je 0x4dd829
mov esi, dword [esp + 0x60]
test esi, esi
je 0x4dd81a
call fcn.004a99d0
fsub qword [esp + 0x68]
push 1
fstp qword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.00521950
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret 0x14
mov cl, byte [esp + 0xf8]
mov al, byte [ebx + 8]
or cl, al
mov byte [esp + 0xf8], cl
je 0x4ddad9
test byte [ebx + 0x212], 1
je 0x4dd89d
mov eax, dword [esp + 0xfc]
mov edx, dword [ebx]
push eax
push esi
push ebp
mov ecx, ebx
call dword [edx + 0x18]
mov esi, eax
test esi, esi
je 0x4ddad9
mov edi, dword [esp + 0x60]
test edi, edi
je 0x4dd88e
call fcn.004a99d0
fsub qword [esp + 0x68]
push 1
fstp qword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, edi
call fcn.00521950
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret 0x14
mov al, byte [esp + 0xfc]
test al, al
jne 0x4dd9c2
mov eax, dword [ebx]
push esi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x20]
jge 0x4dd9c2
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x24]
jge 0x4dd9c2
mov eax, dword [ebp + 4]
test al, 1
jne 0x4dd9c2
shr eax, 1
lea ecx, [eax - 1]
test eax, ecx
jne 0x4dd987
lea esi, [eax + eax]
test esi, esi
jne 0x4dd8f9
mov esi, 1
xor edi, edi
test esi, esi
je 0x4dd970
mov edx, esi
shl edx, 4
push edx
call fcn.00489377
mov edi, eax
add esp, 4
test edi, edi
je 0x4dd9c2
push fcn.005b01e0
push esi
push 0x10
push edi
call fcn.00430db0
mov eax, dword [ebp + 4]
shr eax, 1
cmp eax, esi
mov dword [esp + 0x28], edi
ja 0x4dd934
mov esi, eax
test esi, esi
jbe 0x4dd96c
xor eax, eax
mov dword [esp + 0x14], esi
mov edi, edi
mov ecx, dword [ebp]
add ecx, eax
mov esi, dword [ecx]
lea edx, [eax + edi]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x14]
add eax, 0x10
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4dd940
mov edi, dword [esp + 0x28]
mov eax, dword [ebp]
test eax, eax
je 0x4dd980
push eax
call fcn.00489183
add esp, 4
test edi, edi
mov dword [ebp], edi
je 0x4dd9c2
mov edx, dword [ebp + 4]
mov esi, dword [ebp]
mov eax, dword [esp + 0x18]
shr edx, 1
shl edx, 4
add edx, esi
mov dword [edx], eax
mov ecx, dword [esp + 0x1c]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x20]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 4]
mov edx, eax
and edx, 0xfffffffe
add edx, 2
and eax, 1
xor edx, eax
mov dword [ebp + 4], edx
mov eax, dword [ebx + 0x178]
cmp eax, dword [ebx + 0x180]
jge 0x4ddad9
mov ecx, dword [ebx + 0x17c]
cmp ecx, dword [ebx + 0x184]
jge 0x4ddad9
mov eax, dword [ebp + 4]
test al, 1
jne 0x4ddad9
shr eax, 1
lea edx, [eax - 1]
test eax, edx
jne 0x4dda96
lea esi, [eax + eax]
test esi, esi
jne 0x4dda0a
mov esi, 1
test esi, esi
mov dword [esp + 0x28], 0
je 0x4dda7b
mov eax, esi
shl eax, 4
push eax
call fcn.00489377
mov edi, eax
add esp, 4
test edi, edi
je 0x4ddad9
push fcn.005b01e0
push esi
push 0x10
push edi
call fcn.00430db0
mov eax, dword [ebp + 4]
shr eax, 1
cmp eax, esi
mov dword [esp + 0x28], edi
ja 0x4dda4b
mov esi, eax
test esi, esi
jbe 0x4dda7b
xor eax, eax
mov ecx, esi
mov edx, dword [ebp]
add edx, eax
mov ebx, dword [edx]
lea esi, [eax + edi]
mov dword [esi], ebx
mov ebx, dword [edx + 4]
mov dword [esi + 4], ebx
mov ebx, dword [edx + 8]
mov dword [esi + 8], ebx
mov edx, dword [edx + 0xc]
add eax, 0x10
dec ecx
mov dword [esi + 0xc], edx
jne 0x4dda53
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp]
test eax, eax
je 0x4dda8b
push eax
call fcn.00489183
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [ebp], eax
je 0x4ddad9
mov eax, dword [ebp + 4]
mov esi, dword [ebp]
mov ecx, dword [ebx + 0x178]
shr eax, 1
shl eax, 4
add eax, esi
mov dword [eax], ecx
mov edx, dword [ebx + 0x17c]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 0x180]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0x184]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 4]
mov ecx, eax
and ecx, 0xfffffffe
add ecx, 2
and eax, 1
xor ecx, eax
mov dword [ebp + 4], ecx
mov edx, dword [ebx + 0x178]
cmp edx, dword [ebx + 0x180]
jge 0x4ddaf5
mov eax, dword [ebx + 0x17c]
cmp eax, dword [ebx + 0x184]
jl 0x4ddb4c
mov al, byte [esp + 0xfc]
test al, al
je 0x4ddb4c
mov cl, byte [ebx + 0x20d]
cmp cl, byte [ebx + 0x20c]
jne 0x4ddb4c
mov esi, dword [esp + 0x60]
test esi, esi
mov dword [ebx + 8], 0
je 0x4ddb3d
call fcn.004a99d0
fsub qword [esp + 0x68]
push 1
mov ecx, esi
fstp qword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.00521950
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xd8
ret 0x14
mov al, byte [ebx + 0x204]
test al, al
je 0x4ddc66
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push 0
lea eax, [esp + 0x2c]
push eax
call dword [edx + 0x30]
mov ebp, dword [eax]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add ebp, 0x10
add ecx, 0x10
sub ebx, 0x10
sub eax, 0x10
cmp ebx, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
jle 0x4ddc66
cmp eax, ecx
jle 0x4ddc66
mov edx, dword [esp + 0xf0]
mov eax, dword [edx + 4]
test al, 1
jne 0x4ddc66
shr eax, 1
lea ecx, [eax - 1]
test eax, ecx
jne 0x4ddc2d
lea esi, [eax + eax]
test esi, esi
jne 0x4ddbc0
mov esi, 1
mov edx, esi
shl edx, 4
push edx
call fcn.004991a0
add esp, 4
test eax, eax
mov dword [esp + 0x28], eax
je 0x4ddc66
mov edi, dword [esp + 0xf0]
mov eax, dword [edi + 4]
shr eax, 1
cmp eax, esi
jbe 0x4ddbec
mov eax, esi
mov edx, dword [edi]
test edx, edx
je 0x4ddc25
test eax, eax
je 0x4ddc16
mov edi, dword [esp + 0x28]
mov ecx, eax
shl ecx, 4
mov eax, ecx
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0xf0]
mov eax, dword [edi]
test eax, eax
je 0x4ddc25
push eax
call fcn.00499410
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [edi], ecx
jmp 0x4ddc34
mov edi, dword [esp + 0xf0]
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
shr edx, 1
shl edx, 4
add edx, eax
mov eax, dword [esp + 0x1c]
mov dword [edx], ebp
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ecx
mov eax, dword [edi + 4]
mov edx, eax
and edx, 0xfffffffe
add edx, 2
and eax, 1
xor edx, eax
mov dword [edi + 4], edx
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x19c]
xor ebp, ebp
test eax, 0xfffffffe
jbe 0x4ddcc7
lea esp, [esp]
mov eax, dword [edi + 0x198]
mov esi, dword [eax + ebp*4]
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x4ddc9a
mov ecx, esi
call fcn.004dd570
mov al, byte [esi + 0x20c]
test al, al
je 0x4ddcac
cmp byte [esi + 0x20d], al
je 0x4ddcba
mov ecx, dword [edi + 0x198]
mov ecx, dword [ecx + ebp*4]
call fcn.004dd370
mov edx, dword [edi + 0x19c]
inc ebp
shr edx, 1
cmp ebp, edx
jb 0x4ddc80
mov eax, dword [esp + 0xec]
mov eax, dword [eax + 4]
mov ecx, dword [edi + 8]
shr eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x19c]
xor ebx, ebx
test eax, 0xfffffffe
mov dword [esp + 0x14], ecx
jbe 0x4ddf2e
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x198]
mov ebp, dword [eax + ebx*4]
mov al, byte [esp + 0xfc]
test al, al
jne 0x4ddd1a
mov al, byte [ebp + 0x20c]
test al, al
jne 0x4ddd1a
mov ecx, ebp
call fcn.004dbf70
mov al, byte [ebp + 0x217]
test al, al
je 0x4ddd2e
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x5c]
jmp 0x4ddd3b
mov al, byte [ebp + 0x55]
test al, al
jne 0x4ddd43
mov al, byte [ebp + 0xed]
test al, al
je 0x4dde95
mov al, byte [ebp + 0x217]
test al, al
je 0x4dddaf
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x5c]
test al, al
jne 0x4dddc0
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0x3f800000
mov byte [esp + 0x5c], 1
lea esi, [esp + 0x38]
jmp 0x4dde9c
mov al, byte [ebp + 0x55]
test al, al
jne 0x4dddc0
mov al, byte [ebp + 0xed]
test al, al
je 0x4ddd59
mov al, byte [ebp + 0x213]
test al, al
jne 0x4ddd59
mov ecx, dword [ebp + 0x244]
test ecx, ecx
je 0x4ddd59
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x3f800000
mov byte [esp + 0x98], 1
mov edx, dword [ecx]
push eax
call dword [edx + 0x20]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x20]
jge 0x4dde5d
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x24]
jl 0x4ddd59
mov al, byte [ebp + 0x213]
test al, al
jne 0x4dde6f
mov esi, dword [ebp + 0x244]
jmp 0x4dde71
xor esi, esi
test byte [esi + 8], 1
je 0x4dde7e
mov ecx, esi
call fcn.004dbf70
add esi, 0x1dc
mov ecx, 0xa
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x38]
jmp 0x4dde9c
mov esi, dword [esp + 0xf4]
mov ecx, 0xa
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
test byte [ebp + 8], 1
je 0x4ddeb7
mov ecx, ebp
call fcn.004dbf70
lea esi, [ebp + 0x1dc]
mov ecx, 0xa
lea edi, [esp + 0xc0]
lea eax, [esp + 0xc0]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x9c]
call fcn.0050fce0
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0xf8]
mov edx, dword [ebp]
push eax
push ecx
mov ecx, dword [esp + 0xf8]
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esp + 0xf8]
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x3c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x19c]
or esi, eax
inc ebx
shr edx, 1
cmp ebx, edx
mov dword [esp + 0x14], esi
jb 0x4ddcf1
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x25c]
test eax, eax
je 0x4ddf4a
test dword [esp + 0x14], 0xfffffff6
jne 0x4ddf4a
xor al, al
jmp 0x4ddf4c
mov al, 1
mov byte [esi + 0x261], al
mov al, byte [esi + 0x20f]
test al, al
je 0x4ddfe9
lea eax, [esi + 0x188]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xfc]
call fcn.0050edb0
mov edi, dword [esp + 0xec]
mov edx, dword [edi + 4]
mov ebp, dword [esp + 0x28]
shr edx, 1
cmp ebp, edx
mov ebx, ebp
jae 0x4ddff4
mov esi, ebp
shl esi, 4
mov eax, dword [edi]
mov ecx, dword [eax + esi]
mov edx, dword [esp + 0x18]
add eax, esi
cmp ecx, edx
jge 0x4ddfa4
mov ecx, edx
mov dword [eax], ecx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jge 0x4ddfb3
mov ecx, edx
mov dword [eax + 4], ecx
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x20]
cmp ecx, edx
jle 0x4ddfc3
mov ecx, edx
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jle 0x4ddfd3
mov ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 4]
inc ebx
shr eax, 1
add esi, 0x10
cmp ebx, eax
jb 0x4ddf93
mov esi, dword [esp + 0x10]
jmp 0x4ddff4
mov edi, dword [esp + 0xec]
mov ebp, dword [esp + 0x28]
mov al, byte [esp + 0xfc]
test al, al
jne 0x4de008
mov edx, dword [esi]
push ebp
push edi
mov ecx, esi
call dword [edx + 0x1c]
mov esi, dword [esp + 0x60]
test esi, esi
je 0x4de030
call fcn.004a99d0
fsub qword [esp + 0x68]
push 1
fstp qword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.00521950
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret 0x14