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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x74]
test eax, eax
je 0x52d6dc
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.auto_import
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0052d018
test eax, eax
je 0x52d544
call fcn.0050d3e4
mov ebx, eax
mov dword [esp + 0x3c], eax
mov dword [eax], 0
mov dword [esp], 0xc
call fcn.004edfec
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov esi, str.auto_import
mov ecx, 0xb
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
mov byte [edx + 0xb], 0
mov dword [eax + 8], 0xb
mov dword [eax + 0xc], 0
mov dword [esp + 4], 0xffffffff
mov edx, dword [esp + 0x78]
mov dword [esp], edx
call fcn.004eb494
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x3c]
inc dword [edx]
inc dword [eax]
mov dword [esp + 0xc], 1
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], 2
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004e6cf8
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx]
dec ecx
mov dword [edx], ecx
test ecx, ecx
jle 0x52d703
mov edx, dword [esp + 0x40]
mov ecx, dword [edx]
dec ecx
mov dword [edx], ecx
test ecx, ecx
jle 0x52d6ee
test eax, eax
je 0x52d538
mov eax, 1
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004e1660
mov edx, dword [esp + 0x78]
cmp byte [edx], 0
je 0x52d69c
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x202
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0052c1a8
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x52d7f1
cmp dword [esp + 0x2c], ebx
je 0x52d718
mov esi, dword [esp + 0x38]
test esi, esi
je 0x52d5c7
mov dword [esp + 4], 0x627b2e
mov dword [esp], esi
call sub.msvcrt.dll_strpbrk
test eax, eax
je 0x52d79c
lea edx, [esp + 0x44]
mov dword [esp + 4], edx
add ebx, 0x60
mov dword [esp], ebx
call fcn.005106f8
mov dword [esp + 0x28], eax
test eax, eax
je 0x52d690
nop
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x88]
cmp eax, 1
je 0x52d6d0
inc eax
je 0x52d6d0
mov ebx, dword [esp + 0x28]
add ebx, 0x10
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004fe32c
test eax, eax
je 0x52d678
mov esi, dword [esp + 0x30]
lea edi, [esi + 0xd4]
add esi, 0xd8
xor ebp, ebp
nop
cmp dword [esi], ebp
jle 0x52d678
mov eax, dword [edi]
mov eax, dword [eax + ebp*4]
inc ebp
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004fe32c
test eax, eax
je 0x52d630
mov ecx, dword [esp + 0x28]
add ecx, 0xc
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov dword [esp], ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x70]
call fcn.0052b9b0
dec eax
je 0x52d52b
lea edx, [esp + 0x44]
mov dword [esp], edx
call fcn.00510748
mov dword [esp + 0x28], eax
test eax, eax
jne 0x52d5e8
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0xffffffff
mov dword [esp], str.empty_import_pattern
call fcn.004eb494
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004e1100
mov eax, 1
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + 0x10]
jmp 0x52d609
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x64]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
jmp 0x52d447
mov dword [esp], edx
mov dword [esp + 0x24], eax
call fcn.004dd854
mov eax, dword [esp + 0x24]
jmp 0x52d527
mov dword [esp], edx
mov dword [esp + 0x24], eax
call fcn.004dd854
mov eax, dword [esp + 0x24]
jmp 0x52d516
mov edx, dword [esp + 0x78]
cmp edx, dword [esp + 0x38]
je 0x52d76a
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], str.__into_itself
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__tries_to_import_from_namespace__
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov dword [esp + 4], str.import_pattern__
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004e1460
mov eax, 1
jmp 0x52d530
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x627a38
mov dword [esp + 8], edx
mov dword [esp + 4], str.no_namespace_specified_in_import_pattern__
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004e1460
mov eax, 1
jmp 0x52d530
mov dword [esp + 4], esi
lea eax, [ebx + 0x60]
mov dword [esp], eax
call dword [ebx + 0x8c]
mov dword [esp + 0x28], eax
test eax, eax
je 0x52d690
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
lea edi, [esi + 0xd4]
add esi, 0xd8
xor ebp, ebp
jmp 0x52d7e6
mov eax, dword [edi]
mov eax, dword [eax + ebp*4]
inc ebp
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004fe32c
test eax, eax
jne 0x52d85b
cmp dword [esi], ebp
jg 0x52d7d0
xor eax, eax
jmp 0x52d692
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x627a38
mov edx, dword [esp + 0x78]
mov dword [esp + 8], edx
mov dword [esp + 4], str.unknown_namespace_in_import_pattern__
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004e1460
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.NAMESPACE
mov dword [esp + 8], str.LOOKUP
mov dword [esp + 4], 0x6279bf
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004e1940
mov eax, 1
jmp 0x52d530
mov ecx, dword [esp + 0x28]
add ecx, 0xc
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov dword [esp], ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x70]
call fcn.0052b9b0
jmp 0x52d530