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

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0x60]
push ebx
push ebp
push esi
xor ebp, ebp
xor esi, esi
cmp edx, 8
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
ja case.default.0x300bf85c
jmp dword [edx*4 + 0x300bfd08]
mov dword [esp + 0x10], 0x400
jmp case.default.0x300bf85c
mov dword [esp + 0x10], 0x800
jmp case.default.0x300bf85c
mov dword [esp + 0x10], 0x1000
jmp case.default.0x300bf85c
mov dword [esp + 0x10], 0x2000
jmp case.default.0x300bf85c
mov dword [esp + 0x10], 0x4000
jmp case.default.0x300bf85c
mov dword [esp + 0x10], 0x8000
jmp case.default.0x300bf85c
mov dword [esp + 0x10], 0x8000
jmp 0x300bf8bb
mov dword [esp + 0x10], 0x10000
jmp case.default.0x300bf85c
mov dword [esp + 0x10], 0x10000
mov esi, 1
mov edi, dword [esp + 0x6c]
cmp edi, ebp
je 0x300bf8e6
mov eax, dword [edi + 0x20]
cmp eax, ebp
je 0x300bf8e6
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0xc0]
mov eax, dword [ecx + 0x34]
mov cl, byte [eax + 0x50]
test cl, cl
je 0x300bf8e6
mov cl, 1
jmp 0x300bf8e8
xor cl, cl
mov ebx, dword [edi + 0x18]
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
je 0x300bf997
mov eax, dword [ebx + 0x78]
cmp eax, 6
je 0x300bf908
cmp eax, 0x61
jne 0x300bf997
mov eax, dword [esp + 0x10]
cmp eax, ebp
je case.0x300bfb81.4
test cl, cl
je 0x300bf97d
mov ecx, edi
call fcn.300d1800
test eax, eax
je case.0x300bfb81.4
mov ecx, dword [esp + 0x10]
push ecx
call fcn.30036560
add esp, 4
cmp eax, 0xffffffff
je case.0x300bfb81.4
push esi
push eax
call fcn.3011e3a0
add esp, 8
cmp eax, ebp
je case.0x300bfb81.4
mov ecx, dword [edi + 0x20]
cmp ecx, ebp
je case.0x300bfb81.4
push ebp
push ebp
push eax
call fcn.300e39c0
cmp eax, ebp
jl case.0x300bfb81.4
mov ecx, dword [edi + 0x20]
push eax
call fcn.300f14a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8
mov ecx, dword [edi + 0x20]
push ebp
push ebp
push esi
push ebp
push eax
add ecx, 0x5c
call fcn.300368b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8
mov eax, dword [edi + 8]
cmp eax, ebp
mov dword [esp + 0x18], ebp
je 0x300bf9a9
mov eax, dword [eax + 0x20]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0x70]
cmp esi, ebp
je 0x300bfb04
test cl, cl
jne 0x300bfb74
cmp byte [ebx + 0x7e], 0x22
jne 0x300bfa88
mov byte [esp + 0x40], cl
mov ecx, dword [ebx + 0x74]
push ecx
push ebp
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], SysStringLen
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call fcn.300dfc60
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, 1
lea ebx, [ebx]
lea ecx, [eax + esi]
xor edx, edx
mov ebx, eax
add eax, 2
test edi, edi
mov dword [esp + 0x24], eax
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
mov ebp, edx
jne 0x300bfa79
lea ecx, [eax + esi]
add eax, 2
xor edx, edx
mov dword [esp + 0x24], eax
mov dh, byte [ecx + 1]
mov edi, 1
mov dl, byte [ecx]
mov ecx, dword [esp + 0x70]
shl edi, cl
test edi, edx
je 0x300bfa79
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
sub ecx, eax
push ecx
push 0
push 0
push 0xffffffffffffffff
push edx
push eax
add eax, esi
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x3e4]
push ecx
mov ecx, dword [eax + 0x3fc]
call fcn.300be3e0
mov esi, dword [esp + 0x20]
test ebp, ebp
je 0x300bfb0a
lea eax, [ebx + ebp]
xor edi, edi
jmp 0x300bfa10
cmp edx, 3
jne 0x300bfb14
lea ecx, [esp + 0x44]
call fcn.30004870
mov edx, dword [ebx + 0x74]
push edx
push ebp
push esi
lea ecx, [esp + 0x50]
call fcn.300dfc60
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dl, byte [eax + ecx]
inc eax
test dl, dl
mov dword [esp + 0x48], eax
je 0x300bfae9
lea ecx, [ecx]
add eax, 4
mov dword [esp + 0x48], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
call fcn.300e1a80
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dl, byte [eax + ecx]
inc eax
test dl, dl
mov dword [esp + 0x48], eax
jne 0x300bfac0
mov edx, dword [esp + 0x4c]
sub edx, eax
push edx
mov edx, dword [esp + 0x1c]
push edx
push eax
add eax, ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.300be600
jmp 0x300bfb14
test cl, cl
jne 0x300bfb74
jmp 0x300bfb14
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x6c]
xor ebp, ebp
mov esi, dword [edi + 0x20]
cmp esi, ebp
je 0x300bfb74
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0x218]
cmp eax, ebp
jne 0x300bfb2d
call fcn.300e4110
cmp eax, 6
jl 0x300bfb74
mov ecx, dword [esi + 0xc0]
call fcn.300ef150
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x300bfb74
push ecx
call fcn.30036560
add esp, 4
cmp eax, 0xffffffff
je 0x300bfb74
push SysReAllocString
push ebp
push ebp
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x3e4]
push esi
push ebp
push ebp
push ecx
mov ecx, dword [eax + 0x3fc]
call fcn.300be3e0
mov eax, dword [esp + 0x70]
cmp eax, 8
ja case.0x300bfb81.4
jmp dword [eax*4 + 0x300bfd2c]
mov esi, 2
jmp 0x300bfba2
mov esi, 4
jmp 0x300bfba2
mov esi, 8
jmp 0x300bfba2
mov esi, 1
mov eax, dword [ebx]
cmp eax, ebp
je case.0x300bfb81.4
mov edx, dword [ebx + 4]
push edx
push ebp
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], SysStringLen
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov byte [esp + 0x4c], 0
call fcn.300dfc60
mov edi, 1
cmp esi, edi
jle 0x300bfc1d
lea ecx, [ecx]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add eax, ecx
add ecx, 2
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
test cx, cx
je 0x300bfc17
push ebp
lea ecx, [esp + 0x24]
call fcn.300dfea0
shl edi, 1
cmp edi, esi
jl 0x300bfbf0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx]
add ecx, 2
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov eax, ecx
cmp ax, bp
je case.0x300bfb81.4
mov ecx, dword [ebx + 0x68]
push eax
call fcn.300e0cd0
mov edi, eax
cmp edi, ebp
je case.0x300bfb81.4
cmp dword [edi + 0x78], 5
jne case.0x300bfb81.4
mov ecx, dword [0x303f9cd4]
push 0x17c
call fcn.300033c0
cmp eax, ebp
je case.0x300bfb81.4
mov edx, dword [ebx + 0x68]
mov ecx, dword [edx + 0xc0]
mov edx, dword [ecx + 0x34]
push edx
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x3e4]
push ecx
mov ecx, eax
call fcn.300cdc90
mov esi, eax
cmp esi, ebp
je case.0x300bfb81.4
inc dword [esi + 0x28]
mov edx, dword [ebx + 0x68]
mov eax, dword [edx + 0xc0]
mov ecx, dword [eax + 0x34]
mov dword [edi + 0x20], ecx
mov dword [esi + 0x3c], edi
mov edi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x24]
mov dword [esi + 0x30], edi
call fcn.300dfea0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x218]
cmp eax, ebp
jne 0x300bfcda
call fcn.300e4110
mov ecx, dword [edi + 0x3e8]
mov edx, dword [ecx + 0xb0]
mov ecx, dword [edx + 8]
push eax
push esi
call fcn.300cf500
dec dword [esi + 0x28]
jne case.0x300bfb81.4
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8