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

Disassembly:
mov eax, 0x30ec
call fcn.005143f0
mov eax, dword [esp + 0x30f0]
mov dword [esp + 0xc], ecx
push ebx
push ebp
mov ecx, dword [eax]
mov eax, dword [esp + 0x3100]
mov dword [esp + 0x1c], ecx
push esi
mov eax, dword [eax]
push edi
mov ecx, eax
and eax, 0x10000
and ecx, 0x20000
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0xbc]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x310c]
xor ebx, ebx
lea edx, [esp + 0x44]
xor ebp, ebp
mov ecx, dword [ecx]
mov dword [esp + 0x44], ebx
cmp ecx, ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ecx
je 0x4d7a26
mov eax, dword [ecx + 8]
cmp eax, 0x20000
jne 0x4d737f
push 0x9c
call fcn.00513446
mov ebp, eax
add esp, 4
mov ecx, 0x27
xor eax, eax
mov edi, ebp
push ebp
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
mov dword [ebp + 4], edx
push eax
jmp 0x4d78b6
test eax, 0x40000
je 0x4d73bb
push 0x9c
call fcn.00513446
mov ebp, eax
mov ecx, 0x27
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
add esp, 4
lea edx, [esp + 0x2c]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x1c]
push ebp
push edx
call fcn.004d6b90
jmp 0x4d7909
test eax, 0x80000
je 0x4d7441
mov edx, eax
and edx, 0x18000000
je 0x4d73fb
test ebp, ebp
je 0x4d7909
mov eax, dword [ebp + 0x90]
inc eax
cmp eax, 0x10
jge 0x4d73f2
lea ecx, [ebp + eax*4 + 0x50]
cmp dword [ecx], 0
je 0x4d73f2
inc eax
add ecx, 4
cmp eax, 0x10
jl 0x4d73e4
mov dword [ebp + eax*4 + 0x50], edx
jmp 0x4d7909
and eax, 0x6000000
je 0x4d740c
mov dword [esp + ebx*4 + 0x7c], eax
inc ebx
jmp 0x4d7909
push 0x9c
call fcn.00513446
mov ebp, eax
mov ecx, 0x27
xor eax, eax
mov edi, ebp
add esp, 4
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ebp
push ecx
mov ecx, dword [esp + 0x24]
mov dword [ebp + 4], eax
call fcn.004d6b90
jmp 0x4d7909
cmp eax, 0x10
jne 0x4d7450
mov dword [esp + ebx*4 + 0x7c], eax
inc ebx
jmp 0x4d7909
cmp eax, 0x20
jne 0x4d745f
mov dword [esp + ebx*4 + 0x7c], eax
inc ebx
jmp 0x4d7909
cmp eax, 0x40
jne 0x4d7549
mov eax, dword [ecx + 4]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4d7929
mov dl, byte [0x5c57b8]
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x10fd]
mov byte [esp + 0x10fc], dl
mov esi, dword [esp + 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10fc]
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], eax
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x58]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x5c], 0
call fcn.004d8a10
test eax, eax
mov dword [esp + 0x14], eax
je 0x4d795a
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
push ecx
push 0x5b2b14
push edx
call dword [0x5712a0]
xor eax, eax
lea ecx, [esp + 0x1108]
mov dword [esp + 0x78], eax
push 0x9c
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x84], 0x20000
mov dword [esp + 0x88], eax
call fcn.00513446
mov ebp, eax
mov ecx, 0x27
xor eax, eax
mov edi, ebp
add esp, 0x10
lea edx, [esp + 0x6c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push ebp
push eax
mov ecx, esi
mov dword [ebp + 4], edx
call fcn.004d6b90
jmp 0x4d7909
test al, 1
je 0x4d77d6
mov ecx, dword [ecx + 4]
push 0x14
mov dword [esp + 0x1c], ecx
call fcn.00513446
xor edx, edx
mov esi, eax
mov dword [eax], edx
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], esi
mov dword [eax + 4], edx
push ecx
mov ecx, dword [esp + 0x20]
push esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
call fcn.004d8560
test eax, eax
je 0x4d75d7
mov edx, dword [esp + 0x18]
mov dword [esp + ebx*4 + 0x7c], 0x1000
mov dword [esp + ebx*4 + 0xbc], esi
inc ebx
mov eax, dword [edx + 4]
test eax, eax
je 0x4d7909
mov ecx, dword [eax + 8]
test ecx, 0x80000
je 0x4d7909
test cl, 0x30
je 0x4d7909
and ecx, 0xfff7ffff
mov dword [eax + 8], ecx
mov eax, dword [eax + 4]
test eax, eax
jne 0x4d75aa
jmp 0x4d7909
mov al, byte [0x5c57b8]
mov ecx, 0x3ff
mov byte [esp + 0xfc], al
xor eax, eax
lea edi, [esp + 0xfd]
xor edx, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x30], edx
lea ecx, [esp + 0xfc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], ecx
stosb byte es:[edi], al
mov dword [esp + 0x38], edx
lea eax, [esp + 0x18]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edx
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x38]
push esi
lea eax, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x54], 1
call fcn.004d86a0
test eax, eax
mov dword [esp + 0x14], eax
je 0x4d7985
cmp eax, 2
jne 0x4d7656
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x4c]
test ah, 0x12
je 0x4d7699
test ah, 4
je 0x4d7709
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4d768a
mov ecx, dword [eax + 8]
test ch, 2
je 0x4d768a
mov edx, dword [esp + 0x38]
mov dword [esi], 0
mov dword [esi + 8], edx
jmp 0x4d769e
mov dword [esi + 8], 0xffffffff
mov dword [esi], 0
jmp 0x4d769e
test ah, 1
je 0x4d7709
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x4d76ba
mov ecx, dword [eax + 8]
test ch, 3
je 0x4d76ba
mov dword [esp + 0x28], esi
jmp 0x4d7909
push 0x10
call fcn.00513446
mov edx, dword [esp + 0x34]
mov esi, eax
mov ecx, esi
push 0x9c
mov dword [ecx], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
call fcn.00513446
mov ebp, eax
add esp, 8
mov ecx, 0x27
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], ecx
jmp 0x4d78b0
push esi
call fcn.005133ec
xor eax, eax
add esp, 4
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov al, byte [esp + 0x30]
test al, 1
je 0x4d7753
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
push 0x5bebc8
mov eax, dword [esp + 0x1c]
push eax
call dword [0x5712a0]
add esp, 0x10
mov dword [esp + 0x60], 0x20000
jmp 0x4d7788
test al, 2
je 0x4d7768
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
push str.0x_x
jmp 0x4d773b
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
push ecx
push str.__s_
push edx
call dword [0x5712a0]
add esp, 0xc
mov dword [esp + 0x60], 0x40000
lea eax, [esp + 0xfc]
push 0x9c
mov dword [esp + 0x5c], eax
call fcn.00513446
mov ebp, eax
mov ecx, 0x27
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [esp + 0x58]
lea edx, [esp + 0x2c]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x1c]
push ebp
push edx
call fcn.004d6b90
test dword [esp + 0x60], 0x20000
je 0x4d7909
jmp 0x4d78bf
cmp eax, 2
je 0x4d79b2
cmp eax, 8
je 0x4d79c1
mov al, byte [0x5c57b8]
mov ecx, 0x3ff
mov byte [esp + 0x20fc], al
xor eax, eax
lea edi, [esp + 0x20fd]
push 0x14
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x2100]
stosb byte es:[edi], al
mov dword [esp + 0x6c], ecx
call fcn.00513446
mov ecx, dword [esp + 0x2c]
add esp, 4
test ecx, ecx
mov dword [esp + 0x20], eax
jne 0x4d783c
mov ecx, eax
xor edx, edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
jmp 0x4d7862
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov ecx, 5
mov esi, eax
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.005133ec
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004d7fa0
test eax, eax
mov dword [esp + 0x14], eax
je 0x4d79f3
cmp eax, 2
jne 0x4d788f
mov dword [esp + 0x14], 1
push 0x9c
call fcn.00513446
mov ebp, eax
add esp, 4
mov ecx, 0x27
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
mov dword [ebp + 8], ecx
lea edx, [esp + 0x2c]
push ebp
push edx
mov ecx, dword [esp + 0x24]
call fcn.004d6b90
lea edi, [ebp + 0x50]
mov ecx, 0x10
lea esi, [esp + 0x7c]
mov dword [esp + ebx*4 + 0x7c], 0xffffffff
mov dword [ebp + 0x90], ebx
xor eax, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x10]
mov ecx, 0x10
lea esi, [esp + 0xbc]
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
lea edi, [esp + 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0xbc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d7a26
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [esp + 0x18], ecx
jne 0x4d7349
jmp 0x4d7a26
mov edi, str.Missing_operand
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4d7a26
lea edi, [esp + 0x10fc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4d7a26
lea edi, [esp + 0xfc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x4d7a1e
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4d79e4
push str.Missing_left_parenthesis
jmp 0x4d79ce
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4d79e4
push str.Missing_left_bracket
mov edx, dword [esp + 0x28]
push edx
call dword [0x5712a0]
add esp, 8
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x310c]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
jmp 0x4d7a26
lea edi, [esp + 0x20fc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x20]
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x24]
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005133ec
add esp, 4
xor edi, edi
xor esi, esi
mov eax, dword [esp + esi + 0x7c]
cmp eax, 0x1000
jne 0x4d7a47
mov ecx, dword [esp + esi + 0xbc]
push ecx
call fcn.005133ec
add esp, 4
jmp 0x4d7a4b
cmp eax, edi
je 0x4d7a53
add esi, 4
cmp esi, 0x40
jl 0x4d7a2a
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edi
cmp eax, 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], edi
jne 0x4d7eb1
mov ebp, dword [esp + 0x44]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xbc]
test ebp, ebp
rep stosd dword es:[edi], eax
je 0x4d7e06
mov eax, dword [ebp + 4]
test eax, eax
je 0x4d7b44
cmp dword [eax + 8], 0x20000
jne 0x4d7b44
mov ecx, 0x10
lea edi, [esp + 0xbc]
lea esi, [ebp + 0x10]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x4d7b44
push 0x14
mov dword [esp + 0x44], 1
call fcn.00513446
mov esi, eax
xor eax, eax
mov ecx, esi
xor edx, edx
mov edi, dword [esp + 0x20]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp + 4]
mov dword [esp + 0x30], edx
lea eax, [esp + 0x30]
mov dword [esp + 0x34], edx
push eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov edx, dword [ecx]
push edx
mov ecx, edi
call fcn.004f6190
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.004d8ce0
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi], ebx
mov eax, dword [ebp + 0x90]
dec eax
js 0x4d7c05
lea ecx, [ebp + eax*4 + 0x50]
cmp dword [ecx], 0x1000
je 0x4d7bb7
dec eax
sub ecx, 4
cmp eax, ebx
jge 0x4d7b2b
jmp 0x4d7c05
mov ecx, dword [ebp + 8]
mov dword [esp + 0x40], 0
test ecx, ecx
jne 0x4d7c0b
mov eax, dword [eax + 8]
test eax, 0x20000000
je 0x4d7b6e
or dword [esp + 0x10], 0x210
jmp 0x4d7d17
test eax, 0x400000
je 0x4d7b8f
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], 1
or eax, 0x220
mov dword [esp + 0x10], eax
jmp 0x4d7d17
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4d7ba7
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4d7ba7
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x10]
or ah, 2
mov dword [esp + 0x10], eax
jmp 0x4d7d17
mov ecx, dword [ebp + eax*4 + 0x10]
cmp dword [ecx + 0x10], ebx
jle 0x4d7bd4
test byte [esp + 0x30], 1
jne 0x4d7d27
mov edx, dword [esp + 0x38]
mov dword [esi + 8], edx
jmp 0x4d7bdb
mov dword [esi + 8], 0xffffffff
push 0x10
call fcn.00513446
mov edx, dword [esp + 0x34]
mov ecx, eax
add esp, 4
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0xc], edx
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], esi
mov dword [ebp + 4], ebx
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x90]
dec edx
mov eax, dword [esi + 4]
mov dword [ebp + 0x94], eax
mov edi, dword [esi + 0x10]
mov ebx, edi
js 0x4d7c84
lea ecx, [ebp + edx*4 + 0x10]
mov eax, dword [ecx + 0x40]
cmp eax, 0x10
jne 0x4d7c34
dec ebx
jmp 0x4d7c55
cmp eax, 0x20
jne 0x4d7c3c
inc ebx
jmp 0x4d7c55
cmp eax, 0x1000
jne 0x4d7c7c
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ebp + 0x94], eax
mov eax, dword [ecx]
mov ebx, dword [eax + 0x10]
mov edi, ebx
test ebx, ebx
jl 0x4d7dda
jne 0x4d7c6f
mov eax, dword [ebp + 0x94]
cmp dword [eax + 0x20], 0
je 0x4d7dda
mov eax, ebx
sub eax, edi
cmp eax, 1
jg 0x4d7d54
dec edx
sub ecx, 4
test edx, edx
jge 0x4d7c29
mov ecx, dword [ebp + 0x94]
push ebx
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004d68d0
test eax, eax
jne 0x4d7d78
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x98], ebx
test eax, eax
jne 0x4d7d17
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4d7cb7
test ebx, ebx
jle 0x4d7d17
mov eax, dword [esp + 0x3104]
mov ecx, 5
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x10], ebx
mov edx, dword [ebp + 0x94]
or ch, 1
test ebx, ebx
mov dword [eax + 4], edx
mov dword [esp + 0x10], ecx
jle 0x4d7ceb
mov eax, ecx
or ah, 4
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x50], 0x20
jne 0x4d7cfc
mov eax, dword [esp + 0x10]
or ah, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4d7d0f
mov eax, dword [esp + 0x10]
or ah, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 1
mov ebp, dword [ebp]
test ebp, ebp
je 0x4d7e06
jmp 0x4d7a88
mov edi, str.cannot_convert_to_a_pointer_type
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4d7e06
mov edi, str.Operand_types_bad_for_this_operation
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x4d7df9
mov eax, dword [esp + 0x44]
cmp ebp, eax
jne 0x4d7dda
cmp dword [eax], 0
jne 0x4d7dda
mov eax, dword [esp + 0x3104]
mov ecx, 5
mov edi, eax
mov dword [esp + 0x14], 2
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x10], ebx
mov ecx, dword [ebp + 0x94]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
or ch, 1
mov edi, 0x5bb1a0
mov dword [esp + 0x10], ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4d7e06
mov edi, str.Types_incompatible_with_operator
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov dword [esp + 0x14], 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x3108]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
cmp eax, 1
mov dword [ecx], edx
jne 0x4d7eb1
mov al, byte [0x5c57b8]
mov ecx, 0x3ff
mov byte [esp + 0xfc], al
xor eax, eax
lea edi, [esp + 0xfd]
mov edx, dword [esp + 0x44]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [esp + 0xfc]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
call fcn.004d6bb0
test eax, eax
jne 0x4d7e8b
lea edi, [esp + 0xfc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], eax
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4d7eb1
mov esi, dword [esp + 0x3100]
lea eax, [esp + 0xfc]
push eax
push 0x5b3304
mov ecx, dword [esi]
push ecx
call dword [0x5712a0]
mov ecx, dword [esi]
add esp, 0xc
add ecx, eax
mov dword [esi], ecx
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x4d7f16
mov ecx, dword [ebx]
test ecx, ecx
je 0x4d7ec4
call fcn.004d7f30
mov eax, dword [ebx + 8]
test eax, eax
je 0x4d7ed4
push eax
call fcn.005133ec
add esp, 4
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4d7ee4
push eax
call fcn.005133ec
add esp, 4
xor edi, edi
lea esi, [ebx + 0x50]
mov eax, dword [esi]
cmp eax, 0x1000
jne 0x4d7f00
mov edx, dword [esi - 0x40]
push edx
call fcn.005133ec
add esp, 4
jmp 0x4d7f04
test eax, eax
je 0x4d7f0d
inc edi
add esi, 4
cmp edi, 0x10
jl 0x4d7ee9
push ebx
call fcn.005133ec
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30ec
ret 0x10