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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x4c]
push ebx
push ebp
or ebp, 0xffffffff
push esi
push edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x60]
je 0x4dce32
lea esp, [esp]
mov ecx, dword [0x6b2328]
mov ebx, eax
shr eax, cl
and eax, dword [0x6b2310]
cmp dword [esp + 0x38], eax
je 0x4dcaff
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.004dbd50
mov esi, eax
add esp, 4
test esi, esi
jne 0x4dce45
and ebx, dword [0x6d39a4]
imul ebx, ebx, 0x1d
add ebx, dword [esp + 0x44]
mov ecx, ebx
cmp word [ecx + 7], 0
mov esi, dword [ecx + 0xd]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], esi
je 0x4dcb2a
mov dword [esp + 0x18], 3
jmp 0x4dcb50
cmp word [ecx + 9], 0
je 0x4dcb3b
mov dword [esp + 0x18], 2
jmp 0x4dcb50
xor eax, eax
cmp word [ecx + 0xb], ax
setne al
mov dword [esp + 0x18], eax
test eax, eax
je 0x4dcdf0
mov al, byte [ecx + 4]
mov ebp, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x58]
cmp al, 8
mov byte [esp + 0x5c], al
mov eax, dword [ecx + ebp*4 + 0xd]
mov ecx, dword [ecx + edx*4 + 0xd]
sete byte [esp + 0x13]
cmp dword [esp + 0x64], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], ebp
mov byte [ebx + 0x91], dl
jle 0x4dcded
jmp 0x4dcb99
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x30], eax
cmp eax, 0xffffffff
je 0x4dcdc4
mov ecx, dword [0x6b2328]
mov esi, eax
shr eax, cl
and eax, dword [0x6b2310]
cmp dword [esp + 0x38], eax
je 0x4dcbd5
lea edx, [esp + 0x30]
push edx
mov edi, eax
call fcn.004dbd50
mov edi, eax
add esp, 4
test edi, edi
jne 0x4dce56
and esi, dword [0x6d39a4]
imul esi, esi, 0x1d
add esi, dword [esp + 0x44]
movzx edi, word [esi + 5]
mov eax, dword [esi + ebp*4 + 0xd]
imul edi, edi, 0xa9
add edi, dword [0x6b2300]
mov dword [esp + 0x34], esi
mov dl, byte [edi + 0x91]
movsx ecx, dl
mov dword [esp + 0x24], eax
cmp ecx, ebp
je 0x4dcdb3
cmp edi, ebx
jne 0x4dcc64
mov cl, byte [esp + 0x5c]
cmp byte [esi + 4], cl
jne 0x4dcdb3
movzx edx, word [esi + 5]
push 0
push edx
mov edx, dword [esi]
movzx eax, cl
movzx ecx, byte [esi + 4]
push eax
push ecx
push edx
push str.depth_first
push 0x2362
push 0x961
call fcn.00406f10
push 0
push 1
push 0
push 2
call fcn.00419e90
add esp, 0x30
pop edi
pop esi
pop ebp
mov eax, 0x961
pop ebx
add esp, 0x44
ret
cmp byte [esp + 0x13], 0
je 0x4dcc75
cmp byte [esi + 4], 8
je 0x4dcdb3
cmp word [esi + 7], 0
je 0x4dcc83
mov ecx, 3
jmp 0x4dcca2
cmp word [esi + 9], 0
je 0x4dcc91
mov ecx, 2
jmp 0x4dcca2
xor ecx, ecx
cmp word [esi + 0xb], cx
setne cl
test ecx, ecx
je 0x4dcdb3
cmp dword [esp + 0x18], 1
jne 0x4dccb2
cmp ecx, 1
je 0x4dcdb3
test dl, dl
jne 0x4dceb5
mov esi, dword [edi + 0x61]
test esi, esi
je 0x4dcd09
mov eax, ebp
sub eax, 1
je 0x4dccec
sub eax, 1
jne 0x4dcd09
mov ebx, dword [0x6b22f8]
cmp esi, ebx
jbe 0x4dcf00
cmp esi, dword [0x6b22f4]
ja 0x4dcd09
dec esi
mov dword [0x6b22f4], esi
jmp 0x4dcd09
mov ebx, dword [0x6b22f4]
cmp esi, ebx
jae 0x4dcf28
cmp esi, dword [0x6b22f8]
jb 0x4dcd09
inc esi
mov dword [0x6b22f8], esi
mov ecx, dword [0x6b22f0]
or edx, 0xffffffff
cmp dword [esp + 0x38], edx
je 0x4dcd2c
mov eax, dword [esp + 0x40]
shl eax, 4
add word [eax + ecx + 0x66], dx
lea eax, [eax + ecx + 0x66]
mov dword [esp + 0x38], edx
cmp dword [esp + 0x4c], edx
je 0x4dcd46
mov eax, dword [esp + 0x50]
shl eax, 4
add word [eax + ecx + 0x66], dx
lea eax, [eax + ecx + 0x66]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x70]
xor eax, eax
mov dword [esp + 0x3c], eax
mov byte [0x6d39a0], 1
mov dword [esp + 0x1c], eax
inc ebx
lea ebp, [edi + 0x89]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
mov edx, dword [ebp]
push ecx
push ebx
push eax
push eax
push 1
push 0xffffffffffffffff
push edx
push edi
call fcn.004dcaa0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4dce67
mov eax, dword [esp + 0x74]
cmp word [eax], si
jne 0x4dce3b
mov eax, dword [esp + 0x1c]
inc eax
add ebp, 4
cmp eax, 1
mov dword [esp + 0x1c], eax
jle 0x4dcd62
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
cmp eax, 0xffffffff
jne 0x4dcba6
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x20]
mov cl, byte [esp + 0x68]
mov eax, dword [esp + 0x28]
inc esi
cmp esi, dword [esp + 0x64]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], edx
mov byte [ebx + 0x91], cl
jl 0x4dcb95
mov esi, dword [esp + 0x2c]
or ebp, 0xffffffff
mov eax, esi
mov dword [esp + 0x30], eax
cmp esi, dword [esp + 0x60]
jne 0x4dcad0
mov ecx, dword [0x6b22f0]
cmp dword [esp + 0x38], ebp
je 0x4dce1c
mov eax, dword [esp + 0x40]
shl eax, 4
add word [eax + ecx + 0x66], bp
lea eax, [eax + ecx + 0x66]
cmp dword [esp + 0x4c], ebp
je 0x4dce32
mov eax, dword [esp + 0x50]
shl eax, 4
add word [eax + ecx + 0x66], bp
lea eax, [eax + ecx + 0x66]
mov eax, dword [esp + 0x74]
xor edx, edx
mov word [eax], dx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret
push 0x2380
push 0
call fcn.00406f10
add esp, 8
jmp 0x4dce6a
push 0x2380
push 0
call fcn.00406f10
add esp, 8
mov esi, edi
or ebp, 0xffffffff
mov ecx, dword [0x6b22f0]
cmp dword [esp + 0x38], ebp
je 0x4dce86
mov eax, dword [esp + 0x40]
shl eax, 4
add word [eax + ecx + 0x66], bp
lea eax, [eax + ecx + 0x66]
cmp dword [esp + 0x4c], ebp
je 0x4dce9c
mov eax, dword [esp + 0x50]
shl eax, 4
add word [eax + ecx + 0x66], bp
lea eax, [eax + ecx + 0x66]
push 0x2362
push 0
call fcn.00406f10
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov ecx, dword [0x6b22f0]
or edx, 0xffffffff
cmp dword [esp + 0x38], edx
je 0x4dced4
mov eax, dword [esp + 0x40]
shl eax, 4
add word [eax + ecx + 0x66], dx
lea eax, [eax + ecx + 0x66]
cmp dword [esp + 0x4c], edx
je 0x4dceea
mov eax, dword [esp + 0x50]
shl eax, 4
add word [eax + ecx + 0x66], dx
lea eax, [eax + ecx + 0x66]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov eax, 0x40
pop ebp
mov word [ecx], ax
xor eax, eax
pop ebx
add esp, 0x44
ret
lea edx, [esp + 0x30]
push edx
call fcn.004db8d0
mov ecx, dword [esp + 0x78]
add esp, 4
cmp esi, ebx
sbb eax, eax
pop edi
and eax, 0x3e
pop esi
add eax, 2
pop ebp
mov word [ecx], ax
xor eax, eax
pop ebx
add esp, 0x44
ret
lea edx, [esp + 0x30]
push edx
call fcn.004db8d0
mov ecx, dword [esp + 0x78]
add esp, 4
cmp ebx, esi
sbb eax, eax
pop edi
and eax, 0x3e
pop esi
add eax, 2
pop ebp
mov word [ecx], ax
xor eax, eax
pop ebx
add esp, 0x44
ret