Function at 0x4d39b0
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59eb2a
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x4e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x4fc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x50c]
mov dword [esp + 0x20], eax
xor eax, eax
mov word [esp + 0x4e4], 0x5c
mov dword [esp + 0x4e8], eax
mov dword [esp + 0x4ec], eax
mov dword [esp + 0x504], eax
mov eax, dword [0x60338c]
add eax, 0xfffffff0
call fcn.00403ce0
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x504], 1
mov eax, dword [0x603390]
add eax, 0xfffffff0
call fcn.00403ce0
add eax, 0x10
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x2c]
push 0x603384
push ecx
mov ebx, str.udict_
mov byte [esp + 0x50c], 2
call fcn.00412480
add esp, 8
mov byte [esp + 0x504], 3
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, str..dict
mov byte [esp + 0x50c], 4
call fcn.00412480
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x504], 5
call fcn.004035d0
mov byte [esp + 0x504], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d3add
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x8c]
call fcn.0049c410
test eax, eax
je 0x4d3cff
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push edx
lea ebx, [esp + 0xc0]
call fcn.00412480
add esp, 8
mov byte [esp + 0x504], 6
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
xor ebx, ebx
cmp eax, esi
je 0x4d3b6b
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x4d3b5c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4d3b5c
call fcn.00403ce0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4d3b53
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x4d3b6b
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.00404050
xor ebx, ebx
mov byte [esp + 0x504], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d3b93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fldz
mov dword [esp + 0x34], vtable.CStaticDictionary.0
fstp dword [esp + 0x5c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x504], 7
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x34]
call fcn.004ded10
cmp eax, ebx
mov edi, dword [esp + 0x3c]
jl 0x4d3c47
mov esi, dword [esp + 0x20]
lea ebp, [edi + 8]
push esi
push ebp
call fcn.004d3960
add esp, 8
test eax, eax
jne 0x4d3c47
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jb 0x4d3c21
lea eax, [edi + 1]
call fcn.004d86d0
cmp al, bl
je 0x4d3dce
shl edi, 4
add edi, dword [esi]
je 0x4d3c3f
mov ecx, dword [ebp]
mov dword [edi], ecx
mov edx, dword [ebp + 4]
mov dword [edi + 4], edx
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0xc], ecx
add dword [esi + 4], 1
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x4e8]
cmp eax, ebx
jne 0x4d3c58
mov dword [esp + 0x1c], ebx
jmp 0x4d3c81
cmp dword [esp + 0x4ec], ebx
jne 0x4d3c67
mov dword [esp + 0x1c], ebx
jmp 0x4d3c81
lea edx, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x4ec], eax
mov dword [esp + 0x1c], eax
xor ebp, ebp
cmp edi, ebx
mov byte [esp + 0x504], 4
je 0x4d3ca7
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x4d3ca1
call fcn.004129d0
mov ebp, eax
mov dword [esp + 0x3c], ebx
mov edi, ebx
mov esi, dword [esp + 0x44]
cmp esi, ebx
je 0x4d3cc5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4d3cc3
cmp ebp, ebx
jl 0x4d3cc3
call fcn.004129d0
xor esi, esi
xor ebp, ebp
cmp edi, ebx
je 0x4d3cdd
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x4d3cdd
call fcn.004129d0
mov ebp, eax
cmp esi, ebx
je 0x4d3cf5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4d3cf5
cmp ebp, ebx
jl 0x4d3cf5
call fcn.004129d0
cmp dword [esp + 0x1c], ebx
jne 0x4d3af5
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, str..dict
call fcn.00412480
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x504], 8
call fcn.004035d0
mov byte [esp + 0x504], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d3d4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x8c]
call fcn.0049c410
test eax, eax
je 0x4d3f7b
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea ebx, [esp + 0xc0]
call fcn.00412480
add esp, 8
mov byte [esp + 0x504], 9
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
xor ebx, ebx
cmp eax, esi
je 0x4d3de7
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x4d3dd8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4d3dd8
call fcn.00403ce0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4d3dc5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x4d3de7
push 0x8007000e
call fcn.00404550
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.00404050
xor ebx, ebx
mov byte [esp + 0x504], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d3e0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fldz
mov dword [esp + 0x34], vtable.CStaticDictionary.0
fstp dword [esp + 0x5c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x504], 0xa
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x34]
call fcn.004ded10
cmp eax, ebx
mov edi, dword [esp + 0x3c]
jl 0x4d3ec3
mov esi, dword [esp + 0x20]
lea ebp, [edi + 8]
push esi
push ebp
call fcn.004d3960
add esp, 8
test eax, eax
jne 0x4d3ec3
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jb 0x4d3e9d
lea eax, [edi + 1]
call fcn.004d86d0
cmp al, bl
je 0x4d3dce
shl edi, 4
add edi, dword [esi]
je 0x4d3ebb
mov ecx, dword [ebp]
mov dword [edi], ecx
mov edx, dword [ebp + 4]
mov dword [edi + 4], edx
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0xc], ecx
add dword [esi + 4], 1
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x4e8]
cmp eax, ebx
jne 0x4d3ed4
mov dword [esp + 0x1c], ebx
jmp 0x4d3efd
cmp dword [esp + 0x4ec], ebx
jne 0x4d3ee3
mov dword [esp + 0x1c], ebx
jmp 0x4d3efd
lea edx, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x4ec], eax
mov dword [esp + 0x1c], eax
xor ebp, ebp
cmp edi, ebx
mov byte [esp + 0x504], 4
je 0x4d3f23
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x4d3f1d
call fcn.004129d0
mov ebp, eax
mov dword [esp + 0x3c], ebx
mov edi, ebx
mov esi, dword [esp + 0x44]
cmp esi, ebx
je 0x4d3f41
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4d3f3f
cmp ebp, ebx
jl 0x4d3f3f
call fcn.004129d0
xor esi, esi
xor ebp, ebp
cmp edi, ebx
je 0x4d3f59
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x4d3f59
call fcn.004129d0
mov ebp, eax
cmp esi, ebx
je 0x4d3f71
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4d3f71
cmp ebp, ebx
jl 0x4d3f71
call fcn.004129d0
cmp dword [esp + 0x1c], ebx
jne 0x4d3d67
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, str..ucd
call fcn.00412480
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x504], 0xb
call fcn.004035d0
mov byte [esp + 0x504], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d3fcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x8c]
call fcn.0049c410
test eax, eax
je 0x4d41ed
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
lea ebx, [esp + 0xc0]
call fcn.00412480
add esp, 8
mov byte [esp + 0x504], 0xc
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
xor ebx, ebx
cmp eax, esi
je 0x4d4059
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x4d404a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4d404a
call fcn.00403ce0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4d4041
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x4d4059
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.00404050
xor ebx, ebx
mov byte [esp + 0x504], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d4081
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fldz
mov dword [esp + 0x34], vtable.CStaticDictionary.0
fstp dword [esp + 0x5c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x504], 0xd
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x34]
call fcn.004ded10
cmp eax, ebx
mov edi, dword [esp + 0x3c]
jl 0x4d4135
mov esi, dword [esp + 0x20]
lea ebp, [edi + 8]
push esi
push ebp
call fcn.004d3960
add esp, 8
test eax, eax
jne 0x4d4135
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jb 0x4d410f
lea eax, [edi + 1]
call fcn.004d86d0
cmp al, bl
je 0x4d3dce
shl edi, 4
add edi, dword [esi]
je 0x4d412d
mov ecx, dword [ebp]
mov dword [edi], ecx
mov edx, dword [ebp + 4]
mov dword [edi + 4], edx
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0xc], ecx
add dword [esi + 4], 1
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x4e8]
cmp eax, ebx
jne 0x4d4146
mov dword [esp + 0x1c], ebx
jmp 0x4d416f
cmp dword [esp + 0x4ec], ebx
jne 0x4d4155
mov dword [esp + 0x1c], ebx
jmp 0x4d416f
lea edx, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x4ec], eax
mov dword [esp + 0x1c], eax
xor ebp, ebp
cmp edi, ebx
mov byte [esp + 0x504], 4
je 0x4d4195
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x4d418f
call fcn.004129d0
mov ebp, eax
mov dword [esp + 0x3c], ebx
mov edi, ebx
mov esi, dword [esp + 0x44]
cmp esi, ebx
je 0x4d41b3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4d41b1
cmp ebp, ebx
jl 0x4d41b1
call fcn.004129d0
xor esi, esi
xor ebp, ebp
cmp edi, ebx
je 0x4d41cb
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x4d41cb
call fcn.004129d0
mov ebp, eax
cmp esi, ebx
je 0x4d41e3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4d41e3
cmp ebp, ebx
jl 0x4d41e3
call fcn.004129d0
cmp dword [esp + 0x1c], ebx
jne 0x4d3fe3
mov byte [esp + 0x504], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d4215
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x504], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d423d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x504], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d4265
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov byte [esp + 0x504], bl
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d428e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4e8]
cmp eax, ebx
mov dword [esp + 0x4ec], ebx
je 0x4d42ac
cmp eax, 0xffffffff
je 0x4d42ac
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [esp + 0x4fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4e0]
xor ecx, esp
call fcn.005787fd
add esp, 0x4f4
ret