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

Disassembly:
sub esp, 0xb4
mov eax, dword [esp + 0xc4]
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, ebx
push esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 2
jne 0x30105305
mov eax, dword [ecx + 0x80c]
cmp eax, ebx
jne 0x30105305
mov eax, dword [ecx + 0xbfc]
cmp eax, ebx
je 0x3010537e
mov eax, dword [eax + 0xc0]
cmp eax, ebx
je 0x3010537e
mov eax, dword [eax + 0x34]
cmp eax, ebx
je 0x3010537e
mov eax, dword [eax + 0xa8]
cmp eax, ebx
je 0x3010537e
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 8]
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x30105328
mov eax, dword [ecx + 0x224]
mov dword [esp + 0x24], eax
cmp dword [esp + 0xc4], ebx
je 0x3010590e
mov esi, dword [esp + 0xc8]
cmp byte [esi], bl
je 0x3010590e
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
push edi
call dword [edx + 0xc]
test eax, eax
mov edi, 1
je 0x30105384
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx]
mov dword [esp + 0x14], ebx
call dword [eax + 0xc]
mov ebp, dword [eax + 0x54]
cmp ebp, ebx
jne 0x30105375
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc8], ebx
jmp 0x30105388
mov dword [esp + 0x2c], ebx
jmp 0x3010531e
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x54c]
cmp eax, ebx
mov dword [esp + 0x20], edi
je 0x301053a3
cmp byte [eax + 0x38], bl
je 0x301053a3
mov ecx, edi
jmp 0x301053a5
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x40], ecx
je 0x301053b7
cmp byte [eax + 0x39], 6
mov dword [esp + 0x38], ebx
jb 0x301053bb
mov dword [esp + 0x38], edi
xor eax, eax
cmp ecx, ebx
mov ecx, dword [edx + 0xbfc]
movzx edx, byte [ecx + 0x21d]
sete al
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], ebx
jne 0x30105463
cmp byte [esi], 0x2f
jne 0x30105463
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x30105453
cmp dword [esp + 0x28], eax
je 0x30105453
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x30105415
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x218]
cmp eax, ebx
jne 0x30105410
call fcn.300e4110
cmp eax, 6
jg 0x30105436
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x30105449
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x218]
cmp eax, ebx
jne 0x30105431
call fcn.300e4110
cmp eax, 6
jle 0x30105449
mov al, byte [ebp + 0x54]
test al, al
jns 0x30105449
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xc24], ebx
je 0x30105453
mov ebp, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x301053f1
inc esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov al, byte [esi]
cmp al, bl
je 0x301058cd
lea ecx, [ecx]
xor ecx, ecx
cmp ecx, 0x7f
jge 0x301054df
cmp al, 0x2f
je 0x301054d3
test byte [esp + 0xd0], 1
jne 0x301054a4
cmp al, 0x3a
jne 0x301054a4
mov esi, dword [esp + 0xcc]
cmp byte [esi + 1], 0x2f
je 0x301054ab
inc esi
cmp ecx, ebx
mov dword [esp + 0xcc], esi
jne 0x301054df
jmp 0x301054cb
mov esi, dword [esp + 0xcc]
cmp dword [esp + 0x24], ebx
je 0x301054be
cmp al, 0x2e
jne 0x301054be
cmp byte [esi + 1], al
jne 0x301054d7
mov dword [esp + 0x24], ebx
mov byte [esp + ecx + 0x44], al
inc ecx
inc esi
mov dword [esp + 0xcc], esi
mov al, byte [esi]
cmp al, bl
jne 0x30105472
jmp 0x301054df
mov dword [esp + 0x24], ebx
inc esi
mov dword [esp + 0xcc], esi
cmp dword [esp + 0x14], ebx
mov byte [esp + ecx + 0x44], bl
jne 0x301057d3
cmp dword [esp + 0x20], ebx
mov edi, dword [esp + 0x10]
je 0x30105597
push edi
lea edx, [esp + 0x48]
push 1
push edx
mov dword [esp + 0x2c], ebx
call fcn.300f6c50
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x30105597
cmp esi, 0x7efffffd
jl 0x3010553c
mov ecx, dword [edi + 0x808]
cmp ecx, ebx
je 0x30105852
call fcn.300c2270
test eax, eax
je 0x30105852
mov eax, dword [edi + 0x80c]
cmp eax, ebx
jne 0x30105561
mov eax, dword [edi + 0xbfc]
cmp eax, ebx
je 0x3010556d
mov eax, dword [eax + 0xc0]
cmp eax, ebx
je 0x3010556d
mov eax, dword [eax + 0x34]
cmp eax, ebx
je 0x3010556d
cmp dword [eax + 0xa8], ebx
jne 0x30105852
mov eax, dword [edi + 0x570]
push esi
push eax
call fcn.300f9810
add esp, 8
cmp eax, ebx
je 0x30105852
mov eax, dword [eax + 0x54]
cmp eax, ebx
je 0x30105852
mov ebp, eax
jmp 0x301058bc
mov esi, dword [esp + 0x40]
cmp esi, ebx
jne 0x30105655
mov al, byte [esp + 0x44]
cmp al, 0x5f
jne 0x30105659
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push 0x3029b818
push edx
call fcn.30075180
add esp, 0xc
test al, al
je 0x30105655
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x301055e1
mov ebp, eax
mov dword [esp + 0x20], ebx
jmp 0x301058bc
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x3010564c
mov esi, dword [esp + 0x28]
lea esp, [esp]
cmp esi, eax
je 0x3010564c
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x30105612
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x218]
cmp eax, ebx
jne 0x3010560d
call fcn.300e4110
cmp eax, 6
jg 0x30105633
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x30105642
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x218]
cmp eax, ebx
jne 0x3010562e
call fcn.300e4110
cmp eax, 6
jle 0x30105642
mov al, byte [ebp + 0x54]
test al, al
jns 0x30105642
cmp dword [edi + 0xc24], ebx
je 0x3010564c
mov ebp, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x301055f0
mov dword [esp + 0x20], ebx
jmp 0x301058bc
mov al, byte [esp + 0x44]
cmp al, 0x2e
jne 0x3010566d
cmp byte [esp + 0x45], al
jne 0x3010566d
cmp byte [esp + 0x46], bl
je 0x30105840
cmp esi, ebx
jne 0x30105698
cmp al, 0x5f
jne 0x30105698
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push str._parent
push edx
call fcn.30075180
add esp, 0xc
test al, al
jne 0x30105840
mov al, byte [esp + 0x44]
cmp dword [esp + 0x38], ebx
je 0x301056e4
cmp al, 0x5f
jne 0x301056e4
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push str._global
push ecx
call fcn.30075180
add esp, 0xc
test al, al
je 0x301056e4
push 1
mov ecx, edi
call fcn.30101b30
cmp eax, ebx
mov dword [esp + 0xc8], eax
je 0x30105852
xor ebp, ebp
mov dword [esp + 0x14], 1
jmp 0x301058bc
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.30101cc0
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x301057ad
mov edi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, 6
je 0x3010571e
cmp eax, 0x61
je 0x3010571e
cmp eax, 9
je 0x3010571e
cmp eax, 2
jne 0x3010577c
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x14]
or eax, 1
mov dword [esp + 0x18], eax
mov ecx, edx
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x30105743
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x3010574d
and ecx, 0x1f
mov eax, ecx
cmp eax, 5
jne 0x3010577c
or dword [esp + 0x18], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xbfc]
xor eax, eax
mov al, byte [ecx + 0x21d]
push eax
push edx
push edi
call fcn.30007f50
add esp, 0xc
test al, al
je 0x3010577c
mov al, 1
jmp 0x3010577e
xor al, al
mov ecx, dword [esp + 0x18]
test cl, 2
je 0x3010578e
and ecx, 0xfffffffd
mov dword [esp + 0x18], ecx
test cl, 1
je 0x3010579a
and ecx, 0xfffffffe
mov dword [esp + 0x18], ecx
cmp al, bl
jne 0x3010583c
mov esi, dword [esi + 0xc]
cmp esi, ebx
jne 0x30105704
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x30105852
mov ecx, dword [eax + 0xc0]
mov dword [esp + 0xc8], ecx
xor ebp, ebp
mov dword [esp + 0x14], 1
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x14], 1
jne 0x301058bc
test byte [esp + 0xd0], 2
jne 0x30105852
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xbfc]
mov eax, dword [ecx + 0x218]
cmp eax, ebx
jne 0x30105801
call fcn.300e4110
mov esi, dword [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.30101350
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc8]
push ebx
push ebx
lea edx, [esp + 0x34]
push edx
cmp eax, ebx
mov eax, dword [esp + 0x40]
push eax
push ecx
mov ecx, esi
je 0x30105861
call fcn.30106ef0
jmp 0x30105866
mov ebp, esi
jmp 0x301057cf
cmp ebp, dword [esp + 0x30]
je 0x30105852
mov ebp, dword [ebp + 8]
cmp ebp, ebx
je 0x30105852
cmp dword [ebp + 0x20], ebx
jne 0x301058bc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb4
ret 0x10
call fcn.30106210
cmp eax, ebx
mov dword [esp + 0x34], ebx
je 0x30105852
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.30105020
cmp eax, ebx
mov dword [esp + 0xc8], eax
je 0x30105852
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov esi, eax
cmp esi, ebx
je 0x301058bc
mov ecx, dword [esp + 0x10]
push 1
call fcn.30101b30
cmp dword [esp + 0xc8], eax
je 0x301058bc
mov ebp, dword [esi + 0x54]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x2c], 2
mov esi, dword [esp + 0xcc]
mov al, byte [esi]
cmp al, bl
jne 0x30105470
cmp dword [esp + 0x14], ebx
jne 0x30105904
xor esi, esi
cmp ebp, ebx
je 0x301058e6
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x301058e6
mov esi, dword [eax + 0xc0]
push ebx
mov ecx, dword [esp + 0x14]
push esi
call fcn.30018760
neg eax
pop edi
sbb eax, eax
and eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0x10
mov esi, dword [esp + 0xc8]
push ebx
jmp 0x301058e7
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb4
ret 0x10